-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0184a6f
commit 0f79aaa
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |