Tic-Tac-Toe is a classic and simple two-player game. The game is played on a 3x3 grid, and the objective is to be the first player to get three of their marks in a row, either horizontally, vertically, or diagonally. It is an excellent game for developing strategic thinking and problem-solving skills.
I originally wrote this game in C# by using list, while loop and some if-else statements because I was new, and these were the tools I was familiar with at that time. Therefore, the C# code is rawer and messy. For this website, I rewrote the codes in JavaScript and added more interactive functionalities so that it is more fun and presentable to the audiences. I learned a lot by writing this small game and I hope you enjoy it!
Select Your Turn:
Let's Play!
Scoreboard
Result
Round Count
Sokoban is a classic puzzle game that combines simple mechanics with deep strategic planning. This game originated in Japan in the early 1980s and "Sokoban" translates to "warehouse keeper" or "storehouse worker" in Japanese. The player can only push the boxes, not pull them, and must navigate the warehouse's tight spaces to achieve the goal.
I planned to have two levels for this game. Firstly, I used pencil & paper to draw out each level and then used Adobe Illustrator to make it more clear in visual. Before coding, I thought about what elements were needed to make the game functionable and how to make the game more fun & easier for the audiences to interact with. Also, the arrangement of these elements on the small gameboard is important because the UI will greatly affect the user experience. Once I done the planning, then I moved forward to actual coding. Often, I would go back to the pencil & paper to organize the logic. It is fun to explore the possibilities of the JavaScript language as well as implement my logic by utilizing the knowledge I have!
Lastly, I hope you enjoy this game 😊
Let's Play!
*Move out the boxes and reach the star*
**General Instruction**