https://github.com/m-doescode/lane-twister-ti-nspire
Lane Twister is a quick game I made for the TI-Nspire CX Cas in lua.
https://github.com/m-doescode/lane-twister-ti-nspire
game lua ti-nspire ti-nspire-cx-cas tinspire
Last synced: 11 months ago
JSON representation
Lane Twister is a quick game I made for the TI-Nspire CX Cas in lua.
- Host: GitHub
- URL: https://github.com/m-doescode/lane-twister-ti-nspire
- Owner: m-doescode
- Created: 2021-03-19T21:31:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T18:55:58.000Z (almost 5 years ago)
- Last Synced: 2025-02-14T23:17:29.853Z (about 1 year ago)
- Topics: game, lua, ti-nspire, ti-nspire-cx-cas, tinspire
- Language: Lua
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lane-Twister-TI-NSPIRE
Lane Twister is a quick game I made for the TI-Nspire CX Cas in lua.
Don't expect much. If anything, expect sloppy coding
# Hey, I wanna actually play the game, how do I play?
If you haven't already, go to [How to Download](#How-to-download) to install it into your calculator
> Note: This is for TI-Nspire CX Cas only. I haven't tested for CX II or any others.
Use up/down arrows to navigate or optionally, if you want to keep your fingers on the buttons, you can also use the 8 and 2 keys.
# Commands
(What's a real game without console commands?)
`Ctrl + trig v` or `?` will bring up the console
WARNING: If you open the console, your highscore will no longer be saved. To reverse these changes, type `!cheatsoff`
You can directly type lua functions to execute certain parts of the code in the game (see [List of functions you can poke and prod to](#List-of-functions-you-can-poke-and-prod-to))
### List of console commands:
* `!invc [new state]` - Toggles invincibilty, or turns it on or off
* `!score ` - Sets your new score
* `!level/lvl ` - Sets your level/speed
* `!cheatsoff` - Reverts changes from since you opened the console so you can save your highscore again without restarting app
And a more destructive command...
* `!reset` - Resets your highscore and starts from the beginning, if you find yourself bored, of course.
### List of functions you can poke and prod to:
By simply typing lua into the console, you can execute it, here are some functions you can manually invoke:
* `updateScore(string mode, int value)` - Updates score, `set` mode will set the score to be the value. `add` mode will add the value to the score.
* `restart()` - Restarts the current game (Note: does NOT reset the game like !reset does, also does not turn off cheats)
* `genRandomCars()` - Generates random cars
* `makeGameover()` - Game Over!
# How to download
Download Lane Twister.tns and transfer it into your calculator, from then, simply open it!