Hey guys! I have been working a lot on the Tamil Cinema OS. Here’s what I have done so far: I have finally finished the second feature of the Tamil Cinema OS, which is the Snake Game. I learned how to code this directly into the HTML file. Originally, I thought I would have to create a new file with the game code, but after some research, I learned I could just put it into the original file. The code for this game was a little difficult, as I was having a little trouble with the part where I would have to generate the new apple when it was eaten. After some research, I learned how to use a random number generator in correlation to the grids of the game to have the apples spawn in a different place. I also decided in the end that the snake would be able to go through walls and would only die if it bumped into itself. I learned a lot through this game, especially how to use a variety of functions in HTML. Next steps would be to polish the website off for final touches.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.