game logic via linked list added. javascript data transfer beginning to implement