Skip to content

The classic Cart Pole game implemented in JavaScript, and powered by TensorFlow.js.

License

Notifications You must be signed in to change notification settings

MagicCube/cart-pole-js

Repository files navigation

cart-pole-js

The classic Cart Pole game implemented in JavaScript, and powered by TensorFlow.js.

About Cart Pole Game

The Cart Pole game is the classic 'Hello World' for Reinforcement Learning. A pole is attached by an un-actuated joint to a cart, which moves along the ground. The system is controlled by applying a force vector of [+1, 0] or [-1, 0] to the cart. A slight but random pendulum starts immediately after the game begins, and the goal is to prevent the pole from falling down.


How to Install

npm install

How to Run

npm start

Visit http://localhost:8088

About

The classic Cart Pole game implemented in JavaScript, and powered by TensorFlow.js.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published