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="___")
Owner
Aryan Nath
Aryan Nath
Minimalistic generic chess variant GUI using pyffish and PySimpleGUI, based on the PySimpleGUI Chess Demo

FairyFishGUI Minimalistic generic chess variant GUI using pyffish and PySimpleGUI, based on the PySimpleGUI Chess Demo. Supports all chess variants su

Fabian Fichter 6 Dec 20, 2022
Arcade-like space shooter game written entirely in python

E.T.-Attack Arcade-like space shooter game written entirely in python Project description A space shooter game - inspired by the legendary game Space

Sven Eschlbeck 2 Dec 17, 2022
This is a simple rock paper scissor game created with python.

This is a simple rock paper scissor game created with python.

Fayas Noushad 3 Feb 04, 2022
A module for use with Pygame. Includes fully customisable buttons, textboxes, sliders and many more, as well as the ability to create and run animations on these widgets.

Pygame Widgets A helper module for common widgets that may be required in developing applications with Pygame. It supports fully customisable buttons,

37 Jan 02, 2023
Attempts to solve Wordle-like puzzles.

Attempts to solve Wordle-like puzzles.

cotman 1 Feb 14, 2022
learn and have fun developing 2D retro games using python and pygame

Retro 2D Game Development Using Python + PyGame Skill up your programming skills with a walk down the memory lane. Learn how to create a retro 2D game

Marvin Trilles 1 Feb 23, 2022
Discord.py Gaming Bot🎮, for fun & engaging discord minigames

Status 🧭 This Project will not no longer be developed/finished due to a) discord.py's ( main dependency ) discontinuation b) My personal lack of int

Wordsetter 11 Nov 21, 2022
:tada: 2048 in your terminal

term2048 term2048 is a terminal-based version of 2048. Install pip install term2048 To upgrade a previous installation, use: pip install -U term2048

Baptiste Fontaine 798 Nov 21, 2022
Wordlebot - A simple Wordle puzzle solver in python

WordleBot A simple search-based puzzle solver for Wordle, built in Python. Inspi

Rob Kimball 2 Jan 27, 2022
A python script that uses pygame to display fractals.

Pygame-Fractals A python script that uses pygame to display interactive fractals. There are 3 fractals on the script. They can be displayed on the col

michel 2 Feb 09, 2022
Python Program: Hilo Game

Python Program: Hilo Game 🂡 Description Hilo is a game in which the player gues

2 Jan 22, 2022
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

Zacky2613 1 Dec 21, 2021
Basic Python physics library.

pythonPhysics Basic Python physics library. Must have pygame installed. How to: Sketon program is included. for p in env.particles: pygame.draw.circle

1 Jan 16, 2022
Cocos2d-x is a suite of open-source, cross-platform, game-development tools used by millions of developers all over the world.

cocos2d-x Win32 Others cocos2d-x is a multi-platform framework for building 2d games, interactive books, demos and other graphical applications. It is

cocos2d 16.7k Jan 04, 2023
Wordle Tas Tool is a terminal application for solving Wordle puzzles

Wordle Tas Tool Terminal application for solving Wordle puzzles Wordle Tas Tool (WTT) is a Python script that iterates over SCOWL95 to solve Wordle pu

1 Feb 08, 2022
Minesweeper clone with 3 modes of difficulty, UI scaling and custom games feature.

Insect Sweeper Minesweeper clone with 3 modes of difficulty, UI scaling and custom games feature. Mines are replaced with random insects that a player

Piotr Data 1 Nov 05, 2021
Command-line Hangman game

Hang-_an-game-python-build Hangman C command-line Hangman game. Compilation Navigate to the root of the repository from your Terminal and run make to

Hemant Choudhary 3 Jan 16, 2022
A little python script for finding the best word choice in a Wordle game

A little python script for finding the best word choice in a Wordle game, by assuming that at each step you want to minimise the average number of possible answers left after guessing that word (note

zeb 26 Mar 16, 2022
Just to play with my kids: create a secret alphabet and exchange encrypted messages

Secret Alphabet Description This project allows you to randomly generate an alphabet (a set of characters) and its corresponding translation. For the

BS 1 Nov 12, 2021
Simplerpg - python terminal game made from scratch.

Simplerpg - python terminal game made from scratch.

reversee 3 Sep 17, 2022