Skip to content

Instantly share code, notes, and snippets.

View cmontella's full-sized avatar
🤖

Corey Montella cmontella

🤖
View GitHub Profile
# Example 1 - Crazy Mike's
## What is this?
This small app is pretty straightforward, consisting of a simple webpage with four subpages. The purpose is to demonstrate some basic webpage structure, show how a navigation bar could be implemented, how it changes the view between the different subpages, and how to inject page contents into the page view as you navigate from one subpage to another.
## Page Layout
### Containers

99 Bottles of Beer

http://www.99-bottles-of-beer.net/lyrics.html

search
    n = range[from: 99, to: 0, increment: -1]
    sn = sort[given: n, direction: "down"]
  (pos1, pos2, pos3)
    = if n = 2 then ( "2 bottles", "2 bottles", "1 bottle")
# 2048
A version of [2048](https://gabrielecirulli.github.io/2048/) written in [Eve](http://witheve.com/).
## Setup
This section sets up the records we will use to represent the game board and store the current state.
* The `#game` record will store the overall game state.
* `#axis` records represent the horizontal and vertical axis
@cmontella
cmontella / gist:6a32ec7b88a8d1a385887d80589c612a
Created September 13, 2016 21:30
rock-paper-scissors.eve
# Rock Scissor Paper
Based on https://rosettacode.org/wiki/Rock-paper-scissors
Rules are simple:
The winner is decided by a set of rules:
* Rock beats scissors
* Scissors beat paper
* Paper beats rock

Copperfield Overview

Copperfield was a research project that aimed to find the simplest expressive interface in Eve.

Given the time allotted for the project, I chose to find motivating examples to base my work on rather than starting from scratch. These included, in no particular order:

  1. Wikipedia and other wikis
  2. Hypercard
  3. Persistent URI schemes
  4. Urbit immutable file versioning