Skip to content

Instantly share code, notes, and snippets.

View Ratstail91's full-sized avatar

Kayne Ruse Ratstail91

View GitHub Profile
extends CharacterBody2D
#tweakable constants
const MOVE_FORCE: int = 600
const JUMP_FORCE: int = 20_000
const FRICTION_FORCE: float = 0.9
const GRAVITY_DOWN: int = 500
const GRAVITY_UP: int = 350
const MAX_SPEED: int = 350
@Ratstail91
Ratstail91 / character.gd
Created September 18, 2023 20:13
First thing I've gotten done in months - I should be happy, but I'm still disappointed...
extends CharacterBody2D
const MOVE_FORCE: int = 150
const JUMP_FORCE: int = 500
const FRICTION_FORCE: float = 0.9
const GRAVITY_DOWN: int = 25
const GRAVITY_UP: int = 15
const MAX_SPEED: int = 350
<!DOCTYPE html>
<html>
<head>
<!-- device settings -->
<meta charset = "UTF-8" />
<meta name="Content-Type" content="text/html" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- link the structure file -->
<link rel="stylesheet" href="structure.css" />

Faith Concept Specification

I need three 3/4 bust portraits, one of each of the following characters. These busts are just concepts, but I'd like them to be placeholder portraits for a dialog system.

I'd like them to be semi-realistic in style. The setting is final-fantasy inspired - sword and sorcery with a touch of steampunk/crystalpunk technology.

Dennis

Dennis is an old man, the last adherent to an ancient religion called "The Light". His faith is unwavering, but he doesn't gain any boons from his beliefs - he simply beleives because it's the right thing to do.

# Dual Wielding Layer Cake
## Overview
The goal of this game is to have a campaign game that can be replayed multiple times, with elements of each playthrough impacting the next.
## Gameplay
### Board

Dual Wielding Cards

The goal of the game is to reduce your opponent's health to zero, from it's starting total of 20.

Each player begins with a deck of 40 cards - each card has a maximum number of copies allowed in a deck. Each card has three main sections: a "top zone", a "bottom zone", and an "initiative" (a number). The players begin the game by drawing up to their maximum hand size (5 cards).

On each turn, both players select two cards from their hand and places it face down in front of them; they then simultaneously turn all cards face up, and the player with the highest single initiative value on the board is the first to act.

The first player chooses the top zone of one card, and the bottom zone of the other - the effects in each selected zone take effect this turn (starting from the selected top zone). The second player then follows suit.

/* global defaults */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, #root {
min-width: 100%;
min-height: 100%;
{
"version": 0,
"faction": "necrons",
"units": {
"warrior": {
"role": "troops",
"warrior": {
"minimum": 10,
"maximum": 20
@Ratstail91
Ratstail91 / _fighting-card-game.md
Last active February 19, 2022 13:27
I'm sketching out the basics of a fighting card game. All comments and critiques are welcome.

Preamble

The intent of this game is to mimic traditional fighting games as closely as possible, while also being fun and engaging.

Winning the Game

Each player begins the game with 100 HP (The maximum you can have). The goal of the game is to reduce your opponent's HP to 0 or below.

Setup

API

This api can be tested with curl like this:

curl https://mock.eggtrainer.com/stat/v1/<route>
# Every route is a GET and HEAD route