Basic Javascript Word Game

Cancelado Publicado Apr 22, 2015 Pagado a la entrega
Cancelado Pagado a la entrega

Basically made a javascript word game with 10 different locations using 10 different variables.

ADD ME ON SKYPE: tenkdarko

I want to make my script cleaner by adding these stuff:

Develop a Location prototype {id, name, description, item, toString()}

 Instantiate an instance of Location() for each location in your game. (If you have

10 locations in your game, you'll have 10 different instances of the same

prototype.)

 Store those location instances in a global array.

 Modify your game so that the location functions use this global array instead of the

hard-coded text you had before.

 Develop an Item prototype {id, name, description, toString()}

 Instantiate an instance of Item() for each item that can be found in your game (at

least four of them) and store zero or one item at each location.

 Declare a global array to hold the player's inventory. 5 points

 Modify your take command to use the inventory array.

 Update your i or inventory command to make use of this array when listing

the items the player is carrying.

Diseño gráfico HTML JavaScript PHP Diseño de sitios web

Nº del proyecto: #7534906

Sobre el proyecto

1 propuesta Proyecto remoto Activo Apr 22, 2015

1 freelancer está ofertando el promedio de $166 para este trabajo

naupadnara

I am quite proficient in Javascript and have made a project similar to this.

$166 USD en 1 día
(3 comentarios)
2.4