Game logic done

All the realisation was done!