apirrone commited on
Commit
3842b34
ยท
1 Parent(s): 15f743b

landing page

Browse files
Files changed (2) hide show
  1. README.md +44 -3
  2. index.html +7 -2
README.md CHANGED
@@ -1,12 +1,53 @@
1
  ---
2
  title: Spaceship Game
3
- emoji: ๐Ÿ‘‹
4
  colorFrom: red
5
  colorTo: blue
6
  sdk: static
7
  pinned: false
8
- short_description: Write your description here
9
  tags:
10
  - reachy_mini
11
  - reachy_mini_python_app
12
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Spaceship Game
3
+ emoji: ๐Ÿš€
4
  colorFrom: red
5
  colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ short_description: A 3D space shooter controlled by Reachy Mini's head movements and antennas
9
  tags:
10
  - reachy_mini
11
  - reachy_mini_python_app
12
+ ---
13
+
14
+ # Spaceship Game
15
+
16
+ A 3D space shooter game for Reachy Mini where you control a spaceship using the robot's head movements and fire weapons by pulling the antennas. Features wave-based gameplay with increasing difficulty.
17
+
18
+ ![Spaceship Game Screenshot](spaceship_game/assets/screenshot.png)
19
+
20
+ ## Features
21
+
22
+ - **Physical Controls**: Move Reachy Mini's head to aim the spaceship in 3D space
23
+ - **Dual Weapons**: Pull left and right antennas independently to fire guns
24
+ - **Wave System**: Face increasingly difficult waves of enemy ships
25
+ - **Three Enemy Types**: Red (basic), Orange (fast/aimed), Purple (heavy/spread)
26
+
27
+ ## Setup
28
+
29
+ ### 1. Install Dependencies
30
+
31
+ ```bash
32
+ pip install -e .
33
+ ```
34
+
35
+ ### 2. Run the Game
36
+
37
+ Run the app through the Reachy Mini app manager or directly:
38
+
39
+ ```bash
40
+ python -m spaceship_game.main
41
+ ```
42
+
43
+ ## How to Play
44
+
45
+ 1. **Start**: Aim at the glowing button and pull an antenna to start
46
+ 2. **Aim**: Tilt head up/down and turn left/right to aim the spaceship
47
+ 3. **Fire**: Pull the left or right antenna down to shoot the respective gun
48
+ 4. **Survive**: Destroy enemies and dodge their bullets
49
+ 5. **Score**: Each enemy type gives different points (Red: 100, Orange: 150, Purple: 300)
50
+
51
+ ## Game Over
52
+
53
+ When your health reaches zero, shoot the restart button to play again!
index.html CHANGED
@@ -122,8 +122,9 @@
122
  <div class="container">
123
  <div class="main-card">
124
  <div class="app-preview">
125
- <div class="game-preview">
126
- <div class="game-preview-text">๐ŸŽฎ SHMUP GAME ๐ŸŽฎ</div>
 
127
  <p style="color: #fff; text-align: center; font-family: 'Courier New', monospace;">
128
  Control a spaceship in 3D space<br>
129
  Fight waves of enemy ships<br>
@@ -131,6 +132,10 @@
131
  <span style="color: #ff0;">Score points and survive!</span>
132
  </p>
133
  </div>
 
 
 
 
134
  </div>
135
 
136
  <div class="app-details">
 
122
  <div class="container">
123
  <div class="main-card">
124
  <div class="app-preview">
125
+ <div class="game-preview" style="margin-bottom: 2rem;">
126
+ <img src="spaceship_game/assets/spaceship.gif" alt="Spaceship Game Screenshot" style="width: 100%; border-radius: 8px; margin-bottom: 1rem;">
127
+ <div class="game-preview-text">๐ŸŽฎ GAMEPLAY ๐ŸŽฎ</div>
128
  <p style="color: #fff; text-align: center; font-family: 'Courier New', monospace;">
129
  Control a spaceship in 3D space<br>
130
  Fight waves of enemy ships<br>
 
132
  <span style="color: #ff0;">Score points and survive!</span>
133
  </p>
134
  </div>
135
+ <div class="game-preview">
136
+ <img src="spaceship_game/assets/spaceship_control.gif" alt="Spaceship Control Demo" style="width: 100%; border-radius: 8px; margin-bottom: 1rem;">
137
+ <div class="game-preview-text">๐Ÿค– CONTROLS ๐Ÿค–</div>
138
+ </div>
139
  </div>
140
 
141
  <div class="app-details">