Skip to content

A 2-player space shooting game where players control their own battleships and engage in a duel to protect the galaxy.

License

Notifications You must be signed in to change notification settings

XingshengXu/GalaxyCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GalaxyCraft

Introduction

Welcome to GalaxyCraft, a two-player space battle game! You will play as a yellow or red spaceship in a zero-gravity arena to defeat your opponent by shooting bullets and avoiding enemy attacks. The game includes beautiful space graphics, realistic sound effects, and engaging gameplay that will keep you entertained for hours. Are you ready to embark on an intergalactic adventure and show off your piloting skills?

Game Features

  1. Two-player game: You can play with a friend on the same computer and enjoy the game together.
  2. Spaceship selection: You can choose to play as a yellow or red spaceship with different controls.
  3. Health Bar: Both spaceships have 10 points of health that are displayed on the screen. When a spaceship is hit, its health decreases until it reaches zero, and the other player wins the game.
  4. Sound Effects: Realistic sound effects accompany the game, including bullet firing, bullet hitting, and background music.

Game Installation Guide

Before installing "GalaxyCraft" ensure that you have Python 3.7 or higher installed on your system. You can download the latest version of Python from the official website: https://www.python.org/downloads/

Step 1: Install required libraries To run the game, you need to install the pygame library. Open a terminal or command prompt and enter the following command: pip install pygame

Step 2: Download the game files Download the game files, including the game code, assets (images, sounds, etc.), and settings from the provided link or repository. Ensure that you have all the necessary files in the same folder.

Step 3: Run the game Navigate to the folder containing the game files using the terminal or command prompt. Once there, execute the following command: python main.py

Step 4: Enjoy the game The game should now start, and you can enjoy playing "GalaxyCraft". Follow the on-screen instructions to control the game and have fun!

Troubleshooting:

  1. If you encounter any issues while installing the libraries or running the game, make sure you have the latest version of Python and the required libraries installed, i.e., pygame module.
  2. Ensure that all game files, including assets and settings, are in the same folder as the main Python script.
  3. If you still experience issues, consult the game's documentation, forums, or contact the developer for assistance.

Game Play Instructions

  1. Choose a spaceship: Select your spaceship by pressing the A, S, D, W keys for the yellow spaceship or the arrow keys for the red spaceship.
  2. Shoot bullets: To shoot a bullet, press the left control key for the yellow spaceship or the right control key for the red spaceship.
  3. Avoid bullets: Dodge incoming bullets from your opponent to keep your spaceship alive.
  4. Reduce your opponent's health: Shoot your opponent's spaceship to decrease its health points until it reaches zero and you win the game.
  5. Enjoy the game: Have fun playing the game with your friend, and may the best pilot win!

Game Screen Demos

demo1 demo2 demo3

Get ready for an intergalactic adventure and show off your piloting skills in GalaxyCraft!

About

A 2-player space shooting game where players control their own battleships and engage in a duel to protect the galaxy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages