Skip to content

Songssh/inf-stair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inf-stair

강화 학습을 이용한 무한의 계단 인공지능 입니다.

Requirements

  • Python
  • App player (tested on bluestack)

Setup

  1. Clone this repo
git clone https://github.com/Songssh/inf-stair.git
  1. Set this repo
cd inf-stair
  1. Create environment
# anaconda
conda create -n inf python=3.9.13
# Venv
python -m venv inf
  1. Activate environment
# anaconda
activate inf
# Venv
source inf/Scripts/activate
  1. Install python requirements
pip install -r requirements.txt

Edit parameters

  1. run utils/get_position.py

  1. open hparams.py and edit
stair_x = 132 #
stair_y = 554 #
stair_x_len = 70 #px
stair_y_len = 30 #px
end_x = 390
end_y = 759
end_rgb = (204,  34,  34)

# 'q' 전환, 'e' 올라가기
keys = ['q', 'e']
  1. make floating buttons

Train

[WARNING] Turn your WIFI off, ads might disturb your traning.

python train.py

Run

python run.py

Tutorial video

You can find tutorial video here.

Note

About

무한의 계단 ai 강화학습

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages