ask for some advice for developing a small game
<p>I don't know if it's ok to post a question like this here, if not, sorry about that.</p>

<p>The game is actually <strong>Greedy Snake</strong>, it's on the terminal and can be controlled via keys (UP，DOWN, LEFT, RIGHT). And there can be more than one snake in the game, each of them is controlled by a player.
<img src="http://i.stack.imgur.com/EoUem.png" alt="enter image description here"></p>

<p>So, here are my problems,</p>

<p><strong>1.How to draw the snakes?</strong></p>

<p>Absolutely, they can be represented by characters, but how to put those chars in any position of the terminal?</p>

<p><strong>2.How to move the snakes?</strong></p>

<p>How to make those chars move on the terminal? Using a thread for each of them to update their position on real time basis? </p>

<p><strong>3.Multi-player stuff</strong></p>

<p>Because there may be several players, so one of them gotta be the 'server', then how to implement the <code>login mechanism</code>?</p>
