Skip to content

Cycle is a game where players try to cut each other off using cycles that leave a trail behind them (copycat of Tron). It was developed with my CSE-210 Winter 2022 team at BYU-I. It runs with Raylib in Python

Notifications You must be signed in to change notification settings

felipevalenciaclavijo/Cycle-Tron-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cycle

Cycle is a game where players try to cut each other off using cycles that leave a trail behind them.

Getting Started


Make sure you have Python 3.8.0 or newer and Raylib Python CFFI 3.7 installed and running on your machine. You can install Raylib Python CFFI by opening a terminal and running the following command.

python3 -m pip install raylib

After you've installed the required libraries, open a terminal and browse to the project's root folder. Start the program by running the following command.

python3 snake 

You can also run the program from an IDE like Visual Studio Code. Start your IDE and open the project folder. Select the main module inside the hunter folder and click the "run" icon.

Project Structure


The project files and folders are organized as follows:

root                    (project root folder)
+-- cycle               (source code for game)
  +-- game              (specific game classes)
    +-- casting           
      +-- actor                     (traits to use for actors)
      +-- cast                      (keeps track of what is in play)
      +-- score                     (keeps track of score)
      +-- cycle                     (creates cycles)
      +-- winner                    (determines the winner)
    +-- directing         
      +-- director                  (director of game)
    +-- scripting
      +-- action
      +-- control_actors_action     (controls snake)
      +-- draw_actors_action        (create actors in game space)
      +-- handle_collisions_action  (control what happens when when things collide)
      +-- handle_growth_action      (control the segment growth of each cycle)
      +-- move_actors_action        (control movement in game space)
      +-- script                    (keep track of actions)
    +-- services
      +-- keyboard_service          (gets player input for movement)
      +-- video_service             (draws game on screen)
    +-- shared
      +-- color                     (sets colors & opacity)
      +-- point                     (provides info about where actors are located)
  +-- __main__.py       (entry point for program)
+-- README.md           (general info)

Required Technologies


  • Python 3.8.0
  • Raylib Python CFFI 3.7

Authors


Authors

*Logan Andrus [email protected] *Keeley Imlah [email protected] *Felipe Valencia [email protected] *Kathryn Thompson [email protected] *Morgan Luke [email protected]

*Team 9 CSE-210 Winter 2022

About

Cycle is a game where players try to cut each other off using cycles that leave a trail behind them (copycat of Tron). It was developed with my CSE-210 Winter 2022 team at BYU-I. It runs with Raylib in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages