The main objective of the game is to destroy multiple waves of asteroids with the help of a blaster mounted on the spaceship.

Overview

astronomia

Astronomia: let the exploration begin

The main objective of the game is to destroy multiple waves of asteroids with the help of a blaster mounted on the spaceship. After passing each level, the player reaches the next planet in the solar system, starting from Mercury.

Requirements:

To use this project, you will need the following:

pygame

PIL

MySQL community server

python mysql.connector

Once you login (or sign-up) your data is loaded from the mysql database/a new record is created under your username (if you are signing in for the first time) and you are taken to the main lobby, where your current spaceship's statistics and the levels you have completed are displayed (which you can play again without losing your data). Once you click on continue/start you are taken to the main-game screen where you have to destroy all incoming asteroids in order to progress to the next level. If you lose then you are taken back to the lobby and if you win then you are taken to the level lobby for the planet corresponding to the next level. From here you can choose to go back to the lobby to see your upgraded ship/replay a level or can progress on to the next level.

Login screen:

If you are opening the project for the first time, then signing up will create a new record for you in the MySQL database. Otherwise, your progress will be loaded and you will be directed to the main lobby.

Screenshot 2022-02-10 at 12 50 06 AM

Main lobby:

Here, your progress in the game, your spaceship statistics and the design of your current spaceship are displayed. You can choose to replay a previous level or progress on to the next level.

Screenshot 2022-02-10 at 12 49 30 AM

Gameplay:

Controls:

• right and left arrow keys for rotating the ship

• forward arrow key to accelerate the ship in the forward direction

• spacebar for shooting projectiles.

(in order to slow down the spaceship you have to turn the spaceship and accelerate in the opposite direction)

gameplay.mp4

Level-1 completed:

Once you've destroyed all the asteroids, you are taken to the level lobby where you can choose to directly progress on to the next level or go back to the main lobby and see your new spaceship!

Screenshot 2022-02-10 at 12 53 19 AM

Main lobby(updated):

After finishing a level, you will see that your spaceship has been updated and its turning speed, acceleration and bullet speed are upgraded.

Screenshot 2022-02-10 at 12 47 54 AM

Spaceships available:

A list of all the spaceships you can get after reaching a particular level.

3

Note:

In this version all the data are stored locally on your computer. Hence you have to change the following code in the main.py file to match with your MySQL database server.

conn = conn = dat.connect(
        host="localhost", user="root", passwd="___", database="___")
You might also like...
HTTP API for FGO game data. Transform the raw game data into something a bit more manageable.

FGO game data API HTTP API for FGO game data. Transform the raw game data into something a bit more manageable. View the API documentation here: https

A near-exact clone of google chrome's no internet game, or the "google dinosaur game", with some additions and extras.

dinoGame A near-exact clone of google chrome's no internet game, or the "google dinosaur game", with some additions and extras. Installation Download

Quantum version of the classical Nim game. An automatic opponent allows to game to not be as easy as it seems.

Nim game Running the game To run the program just launch : python3 game.py Rules This game is inspiring from the Nim game. You are 2 players face to f

Average Clicker Game (AVG) is a Python made game using tkinter

Average-Clicker-Game Average Clicker Game (AVG) is a Python clicker game not made with pygame but with tkinter, it has worker, worker upgrades, times

Ice-Walker-Game - This repository is about the Ice Walker game made in Python.

Ice-Walker-Game Ce dépot contient le jeu Ice Walker programmé en Python. Les différentes grilles du jeu sont contenues dans le sous-dossier datas. Vou

Deal Or No Deal was a very popular game show. Even now, for a family party, it's a fun game to pass time

Deal Or No Deal was a very popular game show. Even now, for a family party, it's a fun game to pass time. I made a code to play the game right in your terminal/console. This isn't made to be a game which can be installed by everyone and played, I just made it as a fun project as I just started out with python. So if you have python installed and wanna have some fun, or just curious to see how I did this, feel free to check the code out!

Mastermind-Game - A game to test programming and logical skills

Bem vindo ao jogo Mastermind! O jogo consiste em adivinhar uma senha que será ge

Quiz Game: answering questions naturally with a friendly UI to enjoy the game
Quiz Game: answering questions naturally with a friendly UI to enjoy the game

About Quiz Game : The Game is about answering questions naturally with a friendl

This is a simple telegram bot for the game Pyal, a word guessing game inspired by Wordle

Pyal Telegram Bot This is a simple telegram bot for the game Pyal, a word guessing game inspired by Wordle. How does it work? Differently from the ori

Owner
Aryan Nath
Aryan Nath
This is Minesweeper coded in Python. It has almost all features from the main game

Minesweeper This is Minesweeper coded in Python. It has almost all features from the main game Use right click to open tile, right click on an open ti

null 3 Jul 12, 2022
Blender Game Engine Game Type Templates Logic Bricks (and Python script) based Game Templates for Blender

Blender-Game-Engine-Templates Blender Game Engine Game Type Templates Logic Bric

null 3 Oct 25, 2022
Multiple hacks that breaks the game

Blooket-Hack All of the cheats are based on a game mode.

glizzz_y 484 Feb 25, 2022
🐥Flappy Birds🐤 Video game. With your help I can go through🚀 the pipes. All UI is made with 🐍Pygame🐍

?? Flappy Fish ?? I am Flappy Fish ?? . With your help I can jump through the pipes and experience an interesting and exciting flight deep into the fi

MohammadReza 2 Jan 14, 2022
A set of tools to help you with running a Project Zomboid game server (Linux only)

Project Zomboid Server Tools A set of tools to help you with running a Project Zomboid game server (Linux only). Features Install Project Zomboid Dedi

null 24 Dec 25, 2022
Wordle-helper: python script to help solving wordle game

wordle-helper This is a python script to help solving wordle game 5-letter-word-

MD Nur Ahmed 2 Feb 8, 2022
WordleHelper suggests words to help players better enjoy the hit game Wordle

WordleHelper Introduction WordleHelper suggests words to help players better enjoy the hit game Wordle. Both the general mode and the hard mode are su

Shao-Yu, Chu 5 Jun 2, 2022
Mandaw 2 Mar 1, 2022
Snake game mixed with Conway's Game of Life

SnakeOfLife Snake game mixed with Conway's Game of Life The rules are the same than a normal snake game but you have to avoid cells created by Conway'

Aidan 5 May 26, 2022
Lint game data metafiles against GTA5.xsd for Rockstar's game engine (RAGE)

rage-lint Lint RAGE (only GTA5 at the moment) meta/XML files for validity based off of the GTA5.xsd generated from game code. This script accepts a se

GoatGeek 11 Sep 18, 2022