Skip to content
Snippets Groups Projects
exploring_redox.md 1.42 KiB
Newer Older
Ticki's avatar
Ticki committed
Exploring Redox
===============

Ticki's avatar
Ticki committed
Sodium
------

Sodium is Redox's Vi-like editor. In the menu-bar, pick the icon with `Na` on it. This should now open up an editor window.

A short list of the Sodium defaults:

- `hjkl`: Navigation.
- `ia`: Go to insert mode.
- `;`: Go to command-line mode.
- shift-space: Go to normal mode.

For a more extensive list, write `;help`.
Ticki's avatar
Ticki committed

Setting a reminder/countdown
----------------------------

To demonstrate the ANSI support, we will play around with fancy reminders.

Open up the terminal emulator. Now, write `rem -s 10 -b`. This will set a 10 sec. countdown with progress bar.

Playing around with Rusthello
-----------------------------

Rusthello is an advanced Reversi AI, made by [Enrico](https://github.com/EGhiorzi). It is highly concurrent, so this proves Redox's multithreading capabilities. It supports various AIs, such as brute forcing, minimax, local optimizations, and hybrid AIs.

Oh, let's try it out!

Ticki's avatar
Ticki committed
# first we `cd` to the Rusthello directory
$ cd apps/rusthello
# now, run the binary file
$ ./main.bin
```

Steve Klabnik's avatar
Steve Klabnik committed
Then you will get prompted for various things, such as difficulty, AI setup, and so on. When this is done, Rusthello interactively starts the battle between you and an AI or an AI and an AI.
Ticki's avatar
Ticki committed

Exploring OrbTK
---------------

Click the OrbTK demo app in the menu bar. Now, this will open up a graphical user interface, demonstrating the different widgets, OrbTK currently supports.