GithubHelp home page GithubHelp logo

battle-tetris-ai's Introduction

cppTetrisExtendedAI

Human vs Artificial Inteligence game runs on windows

#how to run this software

 1. find .sln file
 2. open it 
 3. press `ctrl + F5`  OR `double click .exe`

#현재 지원 기능

- 블록별 색깔 설정

- 음악재생(냔캣) 

- 다음 블록표시

- 고스트블록 표시

- 컴퓨터 인공지능 플레이

- 쓰레드 때문에 생기는 랜덤문제 해결함(srand함수가 thread safe하지 않음)

- 쓰레드 때문에 생기는 화면 깨지는 현상 해결함

- 죽으면 종료

- 아이템 추가(1번키 누르면 상대방 다음 블록이 안좋은 모양으로 바뀜)

- 아이템 추가(2번키 누르면 상대방과 보드를 바꾼다)

#current status

- block color

- play music(nyan cat) 

- display next block

- display ghost block

- computer Artificial Inteligence plays game on the right side

- fixed random problem due to srand(srand is not thread safe)

- fixed scattering pixel problem (mutex lock)

- game ends when it die (dirty way)

- Item added ( press keyboard button 1 >> change opposite player's next block(8thblock) )

- Item BoardSwap ( press keyboard 2 >> swap board )

#추가할 기능

  • 아이템 클래스들

TODO::

  • make item class

battle-tetris-ai's People

Contributors

gomjellie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.