Skip to content

Instantly share code, notes, and snippets.

View fabzer0's full-sized avatar
💀
Broadening now...

fabzer0

💀
Broadening now...
  • Andela
  • Nairobi
View GitHub Profile
@fabzer0
fabzer0 / scripts.js
Created August 17, 2017 09:46 — forked from michaelrkn/scripts.js
JavaScript for Pig Dice
var Player = {
setNumber: function(number) {
this.number = number;
},
addPoints: function(points) {
this.score += points;
},
score: 0
};