Skip to content

Nubbin72/CarGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CarGrid

CarGrid is a simulation of a car driving on a 5x5 grid created using JavaScript. The car is randomly selecting the direction it goes and does not collide with the wall.


To run the simulation open the index.html file.


The grid size can be expanded by modifying the following line in main.js file.

simulation = new Simulation(5,5,150);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published