RUVIDEO
Поделитесь видео 🙏

Install curvytron bots - Tutorial (Part 2/2) Setup and launch bots

Join the discord :
https://discord.gg/R7Pu7K


Instructions :

Open browser ine the VM, go to :
https://github.com/RyanrDavies/curvytron-client

download miniconda 3 (Linux Installers)

In your download folder, open a terminal :

sh Miniconda3-latest-Linux-x86_64.sh
(or write "sh Mini" and press tab to autocomplete)

Create a new folder "curvytronbots" on the desktop

Open a new terminal in this folder (or type cd ~/Desktop/curvytronbots in the old terminal) :

conda create -n cc python=3 spyder scikit-image
conda activate cc
pip install gym
pip install websocket-client
pip install scikit-image

Install git :
sudo apt install git

clone project :
https://github.com/RyanrDavies/curvytron-client.git

Go in the project directory :
cd curvytron-client

Open the project directory and Edit file heuristic_agent.py with text editor
1) Replace this line :

DEFAULT_ROOM = 'room_{}'.format(random.randint(0,10000))

by

DEFAULT_ROOM = 'bot_room'

2) Comment this line by adding "#" : (Be careful you do not change tabulation, if you do the file will be broken)

agent = RaymanAgent('Rayman', serveraddress, room, display=True)

Become

# agent = RaymanAgent('Rayman', serveraddress, room, display=True)

3) Replace this line

# serveraddress = "curvytron.com:80" # Online

by

# serveraddress = "www.curvytron.com" # Online

Save the file ! (Save button or ctrl + S)

Open a new tab in your browser, and go to http://www.curvytron.com

Create a new room called "bot_room" (it's the name we defined earlier)

Open your terminal and write this to launch the bots :

python3.8 heuristic_agent.py

Bots connect to the room, just start the game

Enjoy ! :)

Note :
If you want to stop the script, open your terminal and press ctrl + C

You can play the game outside the virtual machine, create the room in your usual browser, start the script into the VM, and go back to your browser.
It works as well and you would have better performances while playing.

Credits
Music : https://www.youtube.com/watch?v=tirFqzG50jA
Curvytron bots : https://github.com/RyanrDavies/curvytron-client.git

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Install curvytron bots - Tutorial (Part 2/2) Setup and launch bots», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.