The class is the base class of the gmae framework. You need extend the class within subclass.
1 2 3 4 | ## Not run:
Snake<-setRefClass("Snake",contains="Game")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.