Skip to content

thrandale/LaserCars_Pico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Architecture Information

Constants for later

PI - Drive, Animation NUM_WEAPONS - FireController, WeaponController

Pins

  • 0, 1 - Debug UART (and LEDS)
  • 2-5 - Motors 1
  • 22, 26-28 - Motors 2
  • 6-10 -IR LEDs
  • 18-21 - IR Receivers
  • 11-13 - Multiplexer Address
  • 14-16 - Multiplexer Data
  • 17 - Lone Weapon Data Pin

Weapon Data Format

8 bits

  • 0-5 - Car
  • 6-8 - Side

BLE

  • Game Service - 00000000-6a5c-4ebb-8da6-a4471e0965ef
    • Game Start - 00000001-6a5c-4ebb-8da6-a4471e0965ef
    • Game End - 00000002-6a5c-4ebb-8da6-a4471e0965ef
    • You Died - 00000003-6a5c-4ebb-8da6-a4471e0965ef
  • Driving Service - 10000000-6a5c-4ebb-8da6-a4471e0965ef
    • Driving - 10000001-6a5c-4ebb-8da6-a4471e0965ef
  • Weapons Service - 20000000-6a5c-4ebb-8da6-a4471e0965ef
    • Weapon Info - 20000001-6a5c-4ebb-8da6-a4471e0965ef
    • Fire Weapon(s) - 20000002-6a5c-4ebb-8da6-a4471e0965ef
    • Hit - 20000003-6a5c-4ebb-8da6-a4471e0965ef
  • Lights Service - 30000000-6a5c-4ebb-8da6-a4471e0965ef
    • Set Zone Color - 30000001-6a5c-4ebb-8da6-a4471e0965ef
    • Play Animation - 30000002-6a5c-4ebb-8da6-a4471e0965ef

Game Modes

Free for all

  • Last Man standing wins

Team Mode

  • Last team standing wins
  • Settings
    • Number of teams

Capture the team

  • Team with most players at the end of the game wins
  • When a car is killed, it becomes the team of the killer
  • Settings
    • Number of teams
    • Time limit
    • Disabled after team switch period

Cars vs Zombies

  • Starts with X zombies, If a Zombie kills another car, it infects it.
  • Settings
    • Starting Zombies
    • Cars Win condition
      • Time limit
      • Kill all zombies
    • Starting Zombies Invulnerability period
    • New Zombie healable period

Freeze Tag

  • Taggers vs others
  • Taggers can freeze others
  • Taggers win if all others are frozen
  • Others win if not all are frozen after time limit
  • Settings
    • Time limit
    • Number of freezers

Rougelike Mode

  • You start with limited weapons
  • After each round you get options for new weapons and/or upgrades
  • Each Team/Car gets points based on criteria
  • Settings
    • Free for all or team mode
    • Number of rounds
    • Round Length
      • Time limit
      • Last man/team standing

Capture the Flag

  • Requires beacons
  • When tagged, you are disabled until you return to your base (maybe also frozen for a time)
  • Settings
    • Number of teams
    • Disabled time

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published