Computer plays Tetris by itself

버전 1.0.0.0 (12.9 KB) 작성자: Maxim Vedenyov
Some not perfect AI used.
다운로드 수: 307
업데이트 날짜: 2011/11/15

라이선스 보기

http://simulations.narod.ru/

Computer plays classic Tetris by itself, 10x20 gamepad, 7 random 4-squares Tetris blocks come. There are some not-perfect AI: scan all positions and all rotation to find minimum of value: number_of_holes + relative_high. Number of holes in gamepad is used to break tie. Usually game over at 10-80 lines.

See how it works here:
http://www.youtube.com/watch?v=Yeiy-K1ztfY

Run test1.m to see.

인용 양식

Maxim Vedenyov (2024). Computer plays Tetris by itself (https://www.mathworks.com/matlabcentral/fileexchange/33779-computer-plays-tetris-by-itself), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Video games에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0