Inspiration
Inspired from 2000's 2D arcade games, that brings back memories and previous enjoyment, theme we went for was a sort of mix between retro/star wars themes.
What it does
You as the user are tasked with destroying as many asteroids as possible to rack up high scores, while dodging them as colliding with one would cause you to lose a life. You have an arsenal of weapons which you can switch between.
Numbers 1-5 represent multiple types of weapons which can be used for vaious scenarios. Use them by pressing the number on your keyboard
1: Laser- a simple laser suitable for long range, with its precise targetting can destroy asteroids far away. 2: Spread Shot - releases three laser beams in 3 directions, also suitable for long range but not as accurate 3: Seeker Missile- relaeses a missile which follows the nearest asteroid, has a success rate of about 50%. 4: Shockwave - Extremely close range but very powerful. Destroys asteroids into atoms. 5: Charged Beam- Really strong, charge this weapon up using the space bar and pulverize the asteroid into bits
Backgrounds: For a personalized experience, you have the option to choose whichever vibe you are looking for. Choose between Deep space, Alien planet and Nebula or let the computer choose for by selecting random.
How we built it
Used Gen AI capabilities of Amazon Q developer to write, modify or simply delete code (approx 70% of code generated from this). From changing the size of the titles to managing errors it was our virtual AI assistant.
Used AWS Amplify to host a website within minutes.
Game Logic: used JavaScript, to manage collisions, weapons, high score system. html for the web layout and styled it using CSS.
Challenges we ran into
Coming up with the idea was the hardest part as we could not get started without this one crucial step, but eventually we decided on an idea which we thought would be best. The main barriers along the way to start the project were on how to develop it, what languages to use, themes and features to decide on. Had to prompt Amazon Q developer multiple times to generate the ideal code. As it had its limitations we were often given wrong code. Leading us to debug the code from our own skills and amazon Q developer multiple times. Time management was also a challenge which we faced, due to us being full time university students and having part-time jobs. However this did not stop us from creating our ideal game. Limited AWS credits was an obstacle due to us only being able to use the free tier from AWS.
Accomplishments that we're proud of
We were successful in executing our ideas from thought to product. We are proud of making something fun for us and others to enjoy duringtheir free time. Upskilling our knowledge as 1st year computer science students, in coding, using AWS services and experiencing first hand how online hackathons work. Making the game visually appealing and getting the desire outcome was huge.
What we learned
We learned from making mistakes using AWS services, as we were complete newbies. Implemented time management in our daily lives balancing this challengeand school. We enhanced our existing knowledge of HTML, CSS & JavaScript. Grasped the elements of AWS thoroughly from Amplify to Amazon Q developer expanding our horizons. Discovered AWS community and met wonderful people online and learned what other projects people make.
What's next for Celestial Wars - the game
We have a vision to make the next versions of the game 3d, adding more spaceships, maps, weapons and more obstacles like space aliens. Adding multiplayer game modes, fighting together against the same enemies. Make it possible to download on consoles like XBOX, PS5 and nintendo Increasing global exposure and creating a brand identity, would be our next steps.
Built With
- amazonqdeveloper
- amplify
- css
- html
- javascript
Log in or sign up for Devpost to join the conversation.