Getting latest posts
100DaysOfCode
Published on Dec 11, 2024
Welcome to the 6th post in the Fun Weekend Projects series - where I share cool project ideas that you can build over a weekend. These projects are a great way for you to improve your coding skills while having fun in the process.
Today, I'm excited to share a project that's close to my heart. This game takes me back to my school days when I spent countless hours playing it with friends during boring classes. As someone who loves numbers, working on this project was an absolute joy!
I’m thoroughly enjoying the process of brainstorming ideas for this series, and I genuinely love building these games that I find so much fun to play.
This is an engaging 2-player game that brings strategy and luck together. Each player starts with a 5x5 board with numbers 1-25 randomly placed on the board. Players have to select a number alternatively and this number must be marked on the boards. You get a point when you complete a row, column, or diagonal and the first player to score 5 points wins the game.
Don’t be fooled by the simplicity of the rules - this is a game of skill and strategy. The number you choose should maximise your advantage while limiting opportunities for your opponent. Think ahead and play smart!
Building this game is not only fun but also a great way to boost your development skills! Here’s what you’ll learn:
Interactive UI: Learn to create an interactive and responsive ui with any modern css frameworks like Tailwind CSS or any other library you prefer.
Dynamic Gameplay: Learn to handle alternate turns between two players seamlessly, generating random boards, calculating scores efficiently.
Advanced Features: Challenge yourself by implementing real-time multiplayer functionality, AI-based opponent, introducing time-limits and more
Take the gameplay to the next level by experimenting with these exciting variations:
Human vs Human (local): A local two-player mode where friends can play together on the same device.
Human vs Human (online): Use web-sockets to implement a real-time online mode, where 2 players can play from anywhere.
Human vs Machine: Develop a bot to play as the second player. The initial logic can be simply selecting random numbers, and gradually introduce complexity by assigning scores to each cell, enabling the bot to make best strategic moves.
Human vs AI: Create a more challenging opponent using AI.
Simplicity is powerful. If you have been following the series from the beginning, you’ll notice that although my ideas seem simple but by implementing them you’ll gain valuable programming knowledge. This Bingo game is no exception! If you're looking for a fun project that combines coding and creativity, this is the perfect challenge to tackle.
If you’re a fan of numbers and logic games like me, give this game a try and challenge Alex(the bot I built) - see if you can outsmart Alex #BingoChallenge
Here’s a video on how to play the game and beat Alex
Have an idea for a fun coding project? Share it with me, I’m always up for a new challenge!
No comments yet. Be the first to comment!
Community|Blog|Youtube|Careers|Contact Us
Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
100DaysOfCode@2024