Skip to content

harshendram/Amazon-Build-Games-Challenge---Q-CLI-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Games Using Amazon Q CLI Challenge

Amazon Q CLI Challenge

Rocket Flight

A fast-paced retro endless runner game inspired by Jetpack Joyride, built with Python and the Pyxel game engine.

Game Demo

About

Rocket Flight is an action-packed endless runner where you control a rocket-powered character navigating through a hazardous environment while collecting coins and avoiding obstacles. The game features retro-style pixel art graphics and chiptune sound effects for an authentic arcade experience.

Features

  • Endless Gameplay: Fast-paced endless runner with increasing difficulty
  • Rocket-Powered Flight: Control your character's flight with intuitive controls
  • Obstacle Avoidance: Dodge various hazard types including laser beams in different configurations (horizontal, vertical, diagonal)
  • Collectibles: Gather coins in various patterns (squares, arrows, lines) for bonus points
  • Enemy Interactions: Encounter scientists that can be defeated
  • Progressive Scoring: Earn points over time and bonus points from coins and defeated scientists
  • High Score System: Track and beat your personal best scores
  • Custom Sound Effects: Retro chiptune sounds for actions and events
  • Pixel Art Graphics: Authentic 8-bit style visuals
  • Background Music: Toggle-able music system

Tech Stack

  • Python: Core programming language
  • Pyxel: Retro game engine for Python
  • State Pattern: Implemented for player character behavior management
  • Entity Component System: Custom-built for game object management
  • Amazon Q CLI: Used for development assistance and code generation
  • Custom Sprite Assets: Hand-crafted pixel art for all game elements

Gameplay

Control your rocket-powered character and avoid hazards while collecting coins! Stay in the air by holding the action button and time your movements carefully to navigate through the various obstacles.

Controls

  • Screen Transitions / Fly: Press Space or Left Mouse Button
  • Toggle Music: Press M or click the Music button

Play on the Web

You can play the game directly in your browser using the Pyxel Web Launcher here.

Installation

  1. Install Pyxel if you haven't already:
    pip install pyxel
  2. Clone this repository:
    git clone <repository-url>
    cd rocket-flight
  3. Run the game:
    python main.py

Support the Project

⭐ If you enjoy this game, please consider starring the repository! ⭐

License

This game is released under the MIT License. See LICENSE for details.

The font used in this project, Spleen, is licensed under the BSD 2-Clause License (see resources/SPLEEN_LICENSE).

Releases

No releases published

Packages

 
 
 

Contributors

Languages