I am a big fan of space movies and sci-fi movies. I always wanted to make a game on space. Furthermore, I also a big fanboy of Star Wars series. As in Star Wars, the spaceships destroys the planets, So my game destroy the *asteroids and enemy ships * with missiles and lasers.
What it does ❓
So basically the main starship is being controlled by the player. The player can use the WSAD keys or arrows keys from the keyboard to move the starship in the space. W or (up arrow key) is for moving forward S or (down arrow key) is for moving backwards A or (left arrow key) is for moving left D or (right arrow key) is for moving right The user can use combinations of the above keys to rotate freely in the space.
The star ship fires a missile when the user presses the space button of the keyboard.
The user have to destroy the random generating asteroids and evil ships to survive and score is calculate when your ship gets destroy. The player get 3 changes to survive in the battle of the asteroids. At the end of the game, the scores can be calculated.
How we built it 🔧🔨
I have used Python as a programming language. The for the framework, I have used pygame. My code is clean and easy to understand if you know about arcade module, and I only have used basics of arcade module commands, so anyone can understand it.
Challenges we ran into 🏃♂️
There were various challenges.
i. Like the random generation of asteroids and ships.
ii. How to fit the battle filed and players in it
iii. The score calculator when the user destroys the asteroid
iv. Synchronization of the music in the game
Accomplishments that we're proud of 🏆
I am proud of my self that I have build this game under 24hr time limit. And I am a beginner in using arcade module. So I am kind a happy to see my result which this game has shown me. I hope to grow in the future and make more amazing games like this in the future.
What we learned 🧠
I have learned the intermediate python topics like nested functions, etc. I have also learned about the arcade module. Which is just amazing to make games in python. shelve module and pygame has taught me many things and amazing concepts which were using in making games.
What's next for Space - X ⏭
I would try to make it more advance my adding multipliers, though which many people can play together and compete with each other online.