A simple game with a retro style graphics
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
When I was 17 i built some simple games running inside a ms-dos terminal using C.
Those were really simple and one of them was a game where you controlled a spaceship stuck at the bottom of the screen and your goal was to avoid collision with some incoming asteroids. The technology used wasn't the best one, so it was a sort of "tech demo" of what I could make using C and a simple ms-dos terminal.
Obviously the graphics were nothing special, it was done using some simple ASCII characters.
Now, 13 years later, I'm a mobile developer and my favorite framework is React Native. So I tried to recreate a similar tech-demo using JavaScript and React Native without any game engine.
I have chosen to use again a really simple graphics using the same ASCII characters.
For now the app still doesn't have all the features it had in its time, but slowly I will implement all the features introduced at the time.
-
Clone the repository
HTTPS:
git clone https://github.com/davidgarra/react2asteroids.git
SSH:
git clone [email protected]:davidgarra/react2asteroids.git
-
Install dependencies using yarn
cd react2asteroids yarn
-
(iOS only) Install Cocoapods and run command
cd ios && pod install
-
Run the application
Android:
yarn run android
iOS:
yarn run ios
- Add unit tests
- Randomize the number of generated asteroids
- Add the option to pause the game
- Add an alternative modern graphics
- More modern graphics
- Real-time switch
- Save the user's records
- Add alternative modern graphics
- Add logging in and saving records online
- Handle gestures to move the spaceship
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
David Garra - Linkedin - [email protected]
Project Link: https://github.com/davidgarra/react2asteroids