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
CTF (Capture The Flag) started from DEFCON CTF, a competitive game among computer security enthusiasts

CTF Wiki 中文 English Welcome to CTF Wiki! CTF (Capture The Flag) started from DEFCON CTF, a competitive game among computer security enthusiasts, origi

CTF Wiki 6.4k Jan 03, 2023
CoinTex: Cross-platform Multi-Level Game created in Python using Kivy

CoinTex: Cross-platform Multi-Level Game created in Python using Kivy CoinTex is a multi-level adventure game created using the Kivy cross-platform Py

Ahmed Gad 57 Dec 11, 2022
Vac-Man in Python

Vac-Man in Python This is my personal version of Vax-man game using python, which is the first task of EA Software Engineering Virtual Experience Prog

ZiXiang Luo 3 Jan 05, 2022
Minecraft Script to Tellraw Datapack Generator

Minecraft Script to Tellraw Datapack Geneator (STDG) can generate a chain of tellraw command in datapack from script.

1 Jan 28, 2022
My first Minecraft CPU. Created in collaboration with Peer Carnes as a final project in CS 281: Architecture and Assembly at the University of Puget Sound

Minecraft CPU This is my first ever Minecraft CPU, created in collaboration with Peer Carnes. We created a custom assembly language, including an asse

Andy Chamberlain 4 Oct 10, 2022
Finding a method to objectively quantify skill expression in games, using reinforcement learning

Analyzing Skill Expression in Games This is a repo where I describe a method to measure the amount of skill expression games have. Table of Contents M

Marcus Chiam 4 Nov 19, 2022
Lutris helps you install and play video games from all eras and from most gaming systems.

Lutris Lutris helps you install and play video games from all eras and from most gaming systems. By leveraging and combining existing emulators, engin

Pop!_OS 2 Nov 15, 2021
Editor for Bioware's Original Neverwinter Nights Game

neveredit This is an import of an old sourceforge project. Neveredit is an editor for Bioware's Neverwinter Nights game. It also includes all the low

Peter Gorniak 2 Apr 12, 2022
Simplerpg - python terminal game made from scratch.

Simplerpg - python terminal game made from scratch.

reversee 3 Sep 17, 2022
A game developed while learning python

Alien_Invasion a game developed while learning python you must have python-3 installed in your computer. and pygame module is also required for this.

Jani Shubham 0 Oct 10, 2022
Pong is one of the first computer games that ever created, this simple

Pong-Game Pong is one of the first computer games that ever created, this simple "tennis like" game features two paddles and a ball, the goal is to de

Lateefah Ajadi 0 Jan 15, 2022
Wordle-prophecy - The comprehensive list of all Wordle answers, past and future

About This repo contains the comprehensive list of all Wordle answers, past and

Hayden Moritz 2 Dec 15, 2022
This is a 2D Link to the Past-esque game made using Python 3.2.5 and pygame 1.9.2

Queen-s-Demise Queen's Demise This is a 2D Link to the Past-esque game made using Python 3.2.5 and pygame 1.9.2 I made this for a game development cla

Zoey 1 Dec 15, 2021
This is a classic guess coin game (Heads or Tails) implemented by the Chialisp.

This is a classic guess coin game (Heads or Tails) implemented by the Chialisp. It is an absolutely fair P2P game based on the Chia blockchain. You can play with anyone in the world without custody.

Kronus91 14 Jul 02, 2022
To solve games using AI, we will introduce the concept of a game tree followed by minimax algorithm.

To solve games using AI, we will introduce the concept of a game tree followed by minimax algorithm.

Vaibhaw 7 Oct 13, 2022
This is a repository created to run a workshop on Game Theory using the programming language Python and more specifically an open-source software called the Axelrod Python library

Game-Theory-and-Python This is a repository created to run a workshop on Game Theory using the programming language Python and more specifically an op

Nikoleta Glynatsi 136 Dec 01, 2022
A set of functions compatible with the TIC-80 platform

Pygame-80 A set of functions from TIC-80 tiny computer platform ported to Pygame 2.0.1. Many of them are designed to work with the NumPy library to im

7 Aug 08, 2022
This is a text-based snake and ladder game .

This is a text-based snake and ladder game .

AKSHAI KRISHNA A 1 Nov 01, 2021
A Tetris game made using PyGame as renderer only, for a school project.

Tetris_Python A Tetris game made using PyGame as renderer only, for a school project. Twist in the Game Blocks can pentrate through right and left bou

Ravi Arora 2 Jan 31, 2022
Repository containing documentation about the Minecraft Legacy FUI file structure

Repository containing documentation about the Minecraft Legacy FUI file structure

Miku-666 6 Dec 29, 2022