With NetLogo open and the Interface tab selected, try out the following in
the Command Center:
This is how you make a turtle:
create-turtles 1
Now let's move the turtle.
| // Sample Code From http://rossboucher.com/2008/08/19/iphone-touch-events-in-javascript/ | |
| // Modified the code to work with jQuery UI Slider for iPhone / iPad Mobile Safari | |
| function touchHandler(event) { | |
| var touches = event.changedTouches, first = touches[0], type = ""; | |
| switch(event.type) { | |
| case "touchstart" : type = "mousedown"; break | |
| case "touchmove" : type = "mousemove"; break; | |
| case "touchend" : type = "mouseup"; break; |
The premise of this game is to take turns drawing / writing captions to unfold a story.
Instructions
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQINBFrPtqoBEAC6F4CexlzwAgwt8k29CJEu7bkHpbhQwivJVgW8Ml5Nh4HTbkjJ | |
| Mf+RTqykQs9Pm5YstJiu4cVgN4P0krm1aYHD8cZeuydkC7rUBUgzTWR4v19UP7Cg | |
| MTdg47FnWLQsPD5HEM18GBZaD9Se9o3a1egF/u1zbKkqq4IS9lJu10R1Nl6a5EGZ | |
| Eg73Cqgbz15+5w8WfKB7WOMG763RD+OHtVT1+rOE8cFGyECxpZspt1uuF8b0K7uE | |
| uG6XIuQ95v9gFIn9k6q5y0d4943TMDl8bPQhd3Q6nxLUXC9B6M9nvK/qHfe5j0rE | |
| iHig5XfKRnd+dFqUk6bRYHe2N5bIW6xEIv6rppKnXUsjoswucjbx/BiaHUx++qOk | |
| 3ANuuMyKXRTzLlNW5Pd31W24x9E2Kn/wtaBU/oBuJUUbclzt/8XPCYjnDqVuKV/V | |
| 8X7Jn3FtoZYwM3kem8FsXCNGoxHTUnvvQ1VwITsQtlqRxD5DrNQRs+IduJf/O+wS |
| FROM ruby:2.4.2 | |
| RUN apt-get update -qq && apt-get install -y \ | |
| build-essential \ | |
| apt-transport-https \ | |
| apt-utils \ | |
| cmake \ | |
| libpq-dev | |
| # for nokogiri |
| FROM ruby:2.4.2 | |
| RUN apt-get update -qq && apt-get install -y \ | |
| build-essential \ | |
| apt-transport-https \ | |
| apt-utils \ | |
| cmake \ | |
| libpq-dev | |
| # for nokogiri |