Skip to content

Instantly share code, notes, and snippets.

View Lokathor's full-sized avatar
🌴
Workin' on Rust Stuff

Lokathor Lokathor

🌴
Workin' on Rust Stuff
View GitHub Profile
input_device = "USB,2-axis 8-button gamepad "
input_driver = "udev"
input_a_btn = "0"
input_b_btn = "1"
input_x_btn = "2"
input_y_btn = "3"
input_l_btn = "4"
input_r_btn = "5"
input_select_btn = "6"
  • Feature Name: platform_channel_section
  • Start Date: 2019-02-27
  • RFC PR: (leave this empty)
  • Rust Issue: (leave this empty)

Summary

We add a whole new section to the channels list for Platform channels. It contains one channel for each major target platform (Win, Mac, etc).

//! Operations which rely on use of `std`. Not included by default.
use std::sync::{
atomic::{AtomicPtr, Ordering},
Mutex, MutexGuard,
};
/// Uses the system clock to get an arbitrary `u64` value.
pub fn u64_from_time() -> u64 {
use std::time::{SystemTime, UNIX_EPOCH};
  • Introduction
    • Goals Of This Book
    • Prerequisites
    • Getting Outside Help
    • Development Setup
    • Hello Magic
    • Volatile
    • Core Only
  • Broad Concepts

Altered Dragon

Altered Dragon is a (relatively) rules light fantasy adventure game based upon the mechanics of dice pool games and the stories/ settings/ themes of classical fantasy adventure games.

Core Mechanic / Game Terms

The core mechanic of Altered Dragon is a "dice pool" roll. When a player wants

@Lokathor
Lokathor / zeldawn.md
Last active October 7, 2018 04:36
A re-skinning of Earthdawn 4e

The Legend of Zeldawn

The Legend of Zeldawn is a "reskinning" of Earthdawn 4e. The editions of Earthdawn are sufficiently close to one another, so this would probably work with any other edition too, but 4e is the primary target.

Races

The Kingdom of Hyrule is home to the following Namegiver races.

Prelude to Skeletons

"Now, listen carefully, for what I'm about to tell you really happened..."

Long ago, even before the era of Marduk, when wielders of dark magic could walk the earth as they pleased and prey upon all they found, there was a particular warlock in the far north of the world who ravaged the lands to carve out a space of his own. The warlock's true name has been lost to time, but his signature magic was a vile blast that melted away the flesh, leaving only the bones behind. Those killed by the skeleton lord's magic would instantly become

Chaos Sundown Character Creation

Here's some character creation rules for an Origin Story After Sundown game.

The year is 199X, and seems like there might be monsters out there at night.

Attributes

  • All Basic Attributes start at 1, and then you assign 13 additional points. In

General Rules and Houserules

  • Books: Core (4e or 4ea) + Arsenal + Augmentation + Street Magic
  • Matrix: Replace all previous Matrix rules with The Ends of The Matrix rules instead.
    • However, there are to be No Player Technomancers. The game is set very early in 2070, before the Emergence happens, so Technomancers are still just a spooky/weird rumor at this point. OOC: Player Technomancers will probably be allowed later on, but I just plain don't want to deal with that
@Lokathor
Lokathor / async-irc-bot-demo.rs
Last active April 25, 2018 03:23
A demo of an IRC bot that can asynchronously send and receive messages. No need for any fancy external crates or frameworks.
// This demo program is placed into the Public Domain.
use std::net::TcpStream;
use std::io::{Read, Write};
use std::string::String;
use std::thread;
use std::time::Duration;
/// We can expand on this later, but for now we just use an alias.
type IRCMessage = String;