Last UnderĀ #CodingOf208, I made a simple hit and try game called āBattleshipā (BattleShip ā #CodingOf208), Battleship helped me a lot to learn about random numbers, file handling. But after after making it, I was kind of out of ideas on what to make next, so I turned over to HackerRank and earned Level ā 4 Badge in Algorithms (Profile).
Now on next few days, I wanted to do some āprojectā kind of stuff.
So one day, I saw my friends playing Chess. I wondered these games are available on PCs, mobile phones, too! Well someone must have written code for it!
So I thought well, let me too give it a shot!
I decided to build something similar (because I wasnāt sure if I can make the exact game!)
Then one thing led to another, I first thought only to move the pawns and thatās it!
After getting success with pawns, I thought okay letās try knights! then King, then rooks, then bishop and finally Queen!
This game is ready for all Linux-based(terminal-based) and for non-terminal based operating system.
There are many problems which I faced during the making of this gameā¦.
The first one is the moving of Queen. Man she was not at all ready to move! Spent hours to convince her to move!!
When I finally convinced her to move, she was moving randomly! Anyways, She was finally convinced to cooperate!
When all pieces where moving as desired, they were not able to distinguish between friend and foe! But that was resolved quickly.
After making the pieces to move, I decided to take the game to another levelā¦ā¦
I started reading all the rules which govern chess, En Passant, Castling, to name a few!
The game is equipped with all these rulesā¦..
You can perform En Passant, Castling, surrender to other player, and also draw the match if both the players agree.
In windows version of the game, there is one special extra function of voice speaker! During the play of game the computer will instruct you through the game! I was not able to add voice feature to Linux version because I could not do it, but I will definitely add the feature as soon I get how to do it!
This voice feature I personally found really coolā¦ā¦.
This slideshow requires JavaScript.
Above is the screen shots of the Linux-Based gameā¦..
This slideshow requires JavaScript.
Above is screen-shot of Non-Linux Based OSā¦.
Ā Both the games(Linux and Non-Linux) have there own goodness, my suggestion is that you download both of the games(Linux and Non-Linux) and see the difference your self(if possible)!!!
Here is the link for the game:
Non ā Linux :Ā Click Here
If you download the file in the form of ā.zipā, you might wanna UNZIP it!!
Let me know your thoughts!!
Program Time!! ā Solution
Program Time!! ā Solution
Program Time!! ā Solution
BattleShip ā #CodingOf208
Programming Languages ā 2016
Diversity of Computersā¦.
Pseudo Codes And Algorithmsā¦.
Decisions!!! Decisions!!!
Good Programming Practicesā¦..
Under The Hood, Its All Binary!!
Computers!! Where Did These Come From??
Chess ā #CodingOf208 Last UnderĀ #CodingOf208, I made a simple hit and try game called "Battleship" (BattleShip ā #CodingOf208ā¦