Skip to content

anand-dev-parekh/Wanands-Way

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wanands Way

This is a simple pygame mini game similiar to that of crossy road. Just not as visually appealing...


Play Locally

  1. Clone repo
git clone https://github.com/anand-dev-parekh/Wanands-Way.git
  1. Install dependencies
cd Wanands-Way
pip3 install -r requirements.txt
  1. Run the game and Enjoy!
cd src
python3 main.py

Updates

I created this game a while ago, so of course, there are many areas to improve in this game. I don't plan to work on this game anymore, however, if you would like, make a pull request and I'll update it! Anyways heres a list of things that should be done to this game.

  1. Hash and Salt user passwords
  2. Make a prettier design for the game
  3. IF app gets bigger, create a simple api to update+read database

Create Leaderboard

Before you configure the leaderboard please read these warnings.

Warnings

The game connects to a MongoDB Cluster. The original intent of the app was to make a little game my friends and I could play during school, so I made it serverless and placed the MongoDB authentication on the client side (bad practice). This means anyone who were to use your leaderboard would have full access to your MongoDB cluster making the game VERY insecure. So, unless you are also just making a little leaderboard for your friends (even then I would use a alternate email for my MongoDB cluster), I do not recommend configuring the database/leaderboard. Also, I never hashed and salted the DB passwords, so make sure to not use a password you use alot in real life when creating your in game account.

Instructions for Configuring Leaderboard:

  1. Clone the repository
  2. Create a MongoDB cluster
  3. Navigate to the Collections Tab of your cluster
  4. Create a Database called "Wanands Way" and collection called "wanandData"
  5. Navigate back to Overview click Connect
  6. Click Drivers and change it to Python
  7. Copy the connection string
  8. Paste the connection string into src/config.py
  9. Have your friends know of the connection string (NOTE: this is VERY unsafe, make sure to read warnings thoroughly)

About

Similiar game to Crossy Road made with Pygame

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages