Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thornySoap authored Mar 25, 2023
1 parent 0184a6f commit 0f79aaa
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# pysnakexia8
Snake suitable for running with Pygame or on TI-Nspire's Python platform.

<table>
<tr>
<td width=46%>

![20230325_214107](https://user-images.githubusercontent.com/115401023/227740926-f61f0822-10c9-4595-a2fa-e4e83d4c9f58.jpg)

</td>
<td>

![Screenshot 2023-03-25 21:46:28](https://user-images.githubusercontent.com/115401023/227740930-d74b4246-9300-4581-a04c-2c60ffeb227f.png)

</td>
</tr>
</table>


## run

### Pygame (Desktop)
1. Have [Pygame](https://www.pygame.org/wiki/GettingStarted#Pygame%20Installation) installed
2. run:
```bash
cd src/main
python main.py # or "python3 main.py"
```

### TI-Nspire
1. Download .tns-file from [releases](https://github.com/thornySoap/pysnakexia8/releases/tag/release)
2. Use https://nspireconnect.ti.com/ (only Chromium based browsers) to transfer the file to your calculator (Linux-users: [Chrome USB udev](https://developer.chrome.com/docs/apps/app_usb/#caveats))
3. Open it. On the first page (`main.py`) press `Ctrl+R` to run

## "build"
Use TI-Nspire Student Software and copy-paste the code of `src/main/main.py` and `src/pygame/pygame.py` into two pages (`main.py` and `pygame.py`) in one document.

## License
[MIT-License](https://github.com/thornySoap/pysnakexia8/blob/master/LICENSE)

0 comments on commit 0f79aaa

Please sign in to comment.