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
A two-player strategy game played on a rectangular grid made up of smaller square cells of chocolate 🍫 or cookies 🍪

Chomp Game ©️ Chomp is a two-player strategy game played on a rectangular grid made up of smaller square cells of chocolate 🍫 or cookies 🍪 , which c

Farivar Tabatabaei 2 Feb 02, 2022
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
PYGA: Python Google Analytics (ga.js) - Data Collection API

PYGA: Python Google Analytics - Data Collection API pyga is an implementation of Google Analytics (ga.js) in Python; so that it can be used at server

Arun Karunagath 136 Sep 19, 2022
This is a simple game made using pygame.

Ball breaker This is a simple game made using pygame game view The game view have been updated wait for the new view to be uploaded Game_show.mp4 Lear

Rishikesh Kumar 3 Nov 05, 2021
A very simple 3D maze game with ray tracing.

PytracingMaze MOST RECENT VERSION: Pytracing Maze.py Also, executable for Windows available on itch.io Simple ray tracing game in Python, based on my

FinFET 15 Dec 20, 2022
Dota2 AI bot - Last Order Dota2 Solo AI

Last Order Dota2 Solo AI 该库提供一个由强化学习训练出的Dota2影魔solo智能体。该智能体通过自我对战的训练方式训练,从随机动作开始学习复杂的策略。玩家可以与该智能体进行影魔solo对战。 对战规则 1.物品方面不可以出凝魂之露,灵魂之戒,魔瓶,真眼。 2.不可以吃符,或

bilibili 365 Jan 05, 2023
Easily manage wine prefixes in a new way. Run Windows software and games on Linux

Bottles Easily manage wineprefix using environments Documentation · Forums · Telegram group · Funding 📚 Documentation Before opening a new issue, che

Bottles 4.1k Jan 09, 2023
Just a simple Tic Tac Toe game, built with Python

TicTacToe Author: Gabriel Lima Table of Contents About Getting Started Linux Windows About This is one of the first projects I built when I first star

1 Nov 28, 2021
Orbital-patterns - A program which plots pattern that revolving planets make

orbital-patterns Click to spawn planets Press "S" to capture screenshot. Image w

Yuvraj.M 11 Dec 24, 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
Exposè for i3 WM. Fork of https://gitlab.com/d.reis/i3expo to fix crashes and improve features/usability

Overwiew Expo is an simple and straightforward way to get a visual impression of all your current virtual desktops that many compositing window manage

137 Nov 03, 2022
A Simple 2048 Game Built Using Python

Game 2048_Python Dựa trên trò chơi nổi tiếng 2048 của Gabriele Cirulli. Mục tiêu của trò chơi là trượt các khối được đánh số trên một lưới để kết hợp

Le Phuong Anh 3 Dec 13, 2021
This is text based adventure game

CHOOSE-YOUR-OWN-ADVENTURE This is text based adventure game CONTRIBUTORS Aditya binukumar Srishti Sharma Shiva Tripathi Tanishq Tanwar ABOUT Theme: Ho

Tanishq Tanwar 3 May 31, 2022
Python module providing simple game networking

nethelper Python module providing simple game networking This module was originally created to facilitate a class on creating multiplayer games in Pyg

Cort 3 Jan 11, 2022
A Tetris Game for programming education

Tetris Game プログラミング学習を目的とした、ブロックを操作してスコアを競うゲームです。 FAQはこちら。 tutorialはこちら。 実行環境準備 Mac環境 Finder→Application→Utility→Terminalから、ターミナルを起動して以下コマンドを実行する。 # i

11 Dec 01, 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

3 Oct 25, 2022
Rock-Paper-Scissors - Rock Paper Scissors With Python

Rock-Paper-Scissors The familiar game of Rock, Paper, Scissors is played like th

Lateefah Ajadi 0 Jan 15, 2022
A DDQN that learned to play tic tac toe by playing against itself

TicTacToeAI A DDQN that learned to play tic tac toe by playing against itself Cu

Anik Patel 3 Apr 09, 2022
Bingo game with python

bingo-game-with-python type of plays possible player vs computer player vs player computer vs computer game is built with 4 objects classes 1.game 2.b

1 Nov 27, 2021
Typing test and practice on command line without the need of any internet connection

Terminal-Typing-Test Typing test and practice on command line without the need of any internet connection About CLI based typing test and practice tha

Angad Deep Singh 3 Oct 19, 2022