Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[Project] Tetris-AI – A deep reinforcement learning agent that plays tetris

I’ve implemented an agent using deep reinforcement learning (with Q-Learning) that plays Tetris (not sure if it plays forever, but it seems to). It makes a decision based on the state that is expected to provide a higher reward in the future (i.e. it’s not greedy, so it will, for example, wait to clear multiple lines instead of a single one).

Here’s a demo

Here’s the source code (made in Python with Keras + Tensorflow)

I appreciate any feedback.

submitted by /u/artificial-thinking
[link] [comments]