View Code? Open in Web Editor
NEW
Advanced programming course, January-May 2019
Java 1.54%
C 80.54%
Makefile 2.68%
Go 15.19%
C++ 0.05%
ap-labs's Introduction
- ๐ Hi, Iโm @kevintroko
- ๐ Iโm interested in ...
- ๐ฑ Iโm currently learning ...
- ๐๏ธ Iโm looking to collaborate on ...
- ๐ซ How to reach me ...
ap-labs's People
Contributors
ap-labs's Issues
- Each ball's behaviour must be implemented in a separated thread.
- Island map is a shared resource across all balls threads.
- Number of balls in the raining is defined in the simulation's start.
- If 2 balls collide, they will randomly change their direction, no matter if the new position is higher.
The island's map can be static or automatically generated.
Implement an Artificial Intelleigence algorithm for detecting lakes formation.
- randomly falling on different positions of the island.
- simulate from moment that fall in island until the ocean
-Balls' movement will be based on the heights arround it.
- Balls will move if (current_height >= next_position_height) where next_position can be north, south, east or west.
- Display the number of balls that are in sea north, south, east and west sides.
- Display how many balls were trapped in the island.