Simply pass the rate frequency as part of the server state. So You can modify it.
There is also Process.send_after.
There is an example in this tetris in Erlang, where the game loop accelarate over time.
Simply pass the rate frequency as part of the server state. So You can modify it.
There is also Process.send_after.
There is an example in this tetris in Erlang, where the game loop accelarate over time.