An open API service indexing awesome lists of open source software.

https://github.com/probablycorey/egg


https://github.com/probablycorey/egg

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# egg

`https://services.tttiny.com/fetchLib/probablycorey/egg`

# eggample

```js
instructions(egg => {
if (egg.needsToPoop()) {
egg.poop()
return
} else {
let direction = egg.whereIsTheFood()
if (direction == 'left') {
egg.moveLeft()
} else if (direction == 'right') {
egg.moveRight()
} else {
egg.eat()
}
}
})
```