This is the second part of creating a smooth nature snake game. You can read the first part here. In this part, we will cover the challenges in simulating the snake’s movement pattern. How snakes move Snakes move in zigzag patterns as demonstrated in the following figure. Smooth nature snake movement patterns We can see that the whole body of the snake forms a shape that is similar to the...
Smooth nature snake – game re-dev with Kotlin (part 2)
Smooth nature snake game – re-dev with Kotlin (part 1)
When my students proposed a snake game for their projects, I thought it is kind of boring. They are all the same old ideas. Nevertheless, how you want it to be do matter as the game mechanics and animations can be much varied. snake game Why I redev the snake game? Did I try to reinvent the wheel – Not quite! What I include in this post addresses several challenges to simulate a fully...
Amazing, Funny, Scary AI – self-learning
Watching the advancement in AI is always enjoyable!Some certified nerd Just two years ago, we witnessed AlphaZero released by the DeepMind team. Within only 24 hours, it achieved a superhuman level of play in these three games by defeating world-champion programs, Stockfish, elmo, and the 3-day version of AlphaGo Zero. In each case, it made use of custom tensor processing...
AI in agriculture: fruit grading (Part 1)
During a meet up last month, a friend told me about the current project on a farm in New Zealand. They want to build a system to grade their fruits and AI is the technology they are looking for. It inspired me to write about how machine learning can help in solving such a problem. Fig 1: Apple grading The grading task Given an apple, we need to sort it to correct category in three available...
An example to Graph Convolutional Network
In my research, there are many problems involve networks of different types, e.g. social network, online-trading networks, crowd-sourcing, etc. I was so happy to find a new powerful tool for my research, the graph convolutional network, which applies deep learning on graph structures. Graph convolutional network (GCN) Graph convolutional network (Src: Thomas Kipf) There is currently no official...
