Skip to content

A trivial Python Game using the Pygame library with a MySQL database for Leaderboards/Rankings.

Notifications You must be signed in to change notification settings

leytondsilva/NNFS_PygameMySQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFFS_PygameMySQL

A trivial Python Game using the Pygame library with a MySQL database for Leaderboards/Rankings.

Steps:

1] Download and install xampp: https://www.apachefriends.org/download.html

2] Create database 'gameboard' with table 'user_info' having columns (name,score). You can do this by running Apache and Mysql in Xampp, then going to 'localhost/phpmyadmin' in your browser and executing the following queries.

  • create database

  • create table user_info(name VARCHAR(20), scoreVARCHAR(20))

3] Run in CMD:

  • pip install -r requirements.txt

4] Run NNFS.py

References:

https://pythonprogramming.net/pygame-python-3-part-1-intro/

About

A trivial Python Game using the Pygame library with a MySQL database for Leaderboards/Rankings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages