Automate the Tableturf game helping you reach Level 999 and get all sleeves. The script is based on image recognition and bluetooth emulator to auto play Tableturf.
prerequisite:
Note: all parameters about image recognition are based on Razer Ripsaw HD. It may need to finetune for other devices.
Install the requirements:
sudo pip3 install -r requirement.txt
Setup and run the virtual controller server on the device which has Bluetooth adapter. Please refer to: https://github.com/fga401/AutoTableTurf/tree/master/controller/nxbt_server
Run the web portal:
export FLASK_APP=portal
sudo python3 -m flask run --host=0.0.0.0
On the web portal:
Connect
. If successful, you can control your Switch by
keyboard.Turn off Switch after stop
.Profile example:
[
{
"current_level": 1,
"current_win": 2,
"target_level": 3,
"target_win": 30,
"deck": 0
},
{
"current_level": 3,
"current_win": 12,
"target_level": 3,
"target_win": 30,
"deck": 1
}
]
Each block represents the configuration of an NPC. The above profile performs the following actions:
Many thanks to all below repositories: