-
self employed
- united kingdom
-
card-game-settings Public
a configurable object with common card game settings, plus a readonly version
TypeScript MIT License UpdatedMay 24, 2025 -
maths Public
a collection of useful maths functions and objects for use in simple javascript projects, including games
TypeScript MIT License UpdatedApr 29, 2025 -
vector Public
a simple vector class with syntax similar to the P5.js Vector class
TypeScript MIT License UpdatedApr 29, 2025 -
simple-game-engine Public
a very simple javascript game engine with a loop and renderer
TypeScript MIT License UpdatedApr 25, 2025 -
simple-renderer Public
a simple renderer, which can be started and stopped, that renders all iRenderable objects given to it at the configured framerate
TypeScript MIT License UpdatedApr 25, 2025 -
canvas Public
a cleaner implementation of the Canvas API
TypeScript MIT License UpdatedApr 25, 2025 -
card-table-layout Public
represents the layout of all entities on the screen in a game of cards
TypeScript MIT License UpdatedDec 11, 2024 -
card-table-position Public
an object representing a position on a table (screen) in a game of cards. Position makes available to client x, y coordinates, rotation and scale properties.Position can be configured to have it's …
TypeScript MIT License UpdatedDec 11, 2024 -
image-sprite Public
a really simple javascript class that takes an image element and the number of rows and columns and translates them into x, y, width and height values, depending on which column and row is selected
TypeScript MIT License UpdatedDec 10, 2024 -
bespoke-card-table-layouts Public
a collection of bespoke layouts and mappers for various games of cards
MIT License UpdatedDec 10, 2024 -
bespoke-card-game-settings Public
a collection of bespoke card game settings objects used in various games of cards on the playing-card-pro platform
TypeScript MIT License UpdatedDec 10, 2024 -
random Public
a small collection of helpful functions to generate various parameterized random values
TypeScript MIT License UpdatedDec 1, 2024 -
utils Public
a library of small(tiny) generic helper functions and classes for use across all projects
TypeScript MIT License UpdatedDec 1, 2024 -
user-input Public
an HTML <div> element with built-in mouse and touch event detection. Translates events into new tap, hold, press and swipe events, dispatched on the document.body
TypeScript MIT License UpdatedNov 30, 2024 -
container Public
a simple package that resizes a div on screen resize or device rotate and maintains the aspect ratio.
TypeScript MIT License UpdatedNov 29, 2024 -
screen-entity Public
an abstract class that represents an entity on an html canvas with dynamic properties such as position, rotation, opacity PLUS simple and precise collision detection and a zIndex for rendering mult…
TypeScript MIT License UpdatedNov 21, 2024 -
dynamic-objects Public
3 classes that represent changing values over time: Unit, Number, Position
TypeScript MIT License UpdatedNov 21, 2024 -
player-lives Public
represents number of lives each player has in a game
TypeScript MIT License UpdatedNov 13, 2024 -
jest-expect Public
provides wrapper functions for common jest expect methods for slightly different synatax
TypeScript MIT License UpdatedNov 12, 2024 -
hand-of-cards Public
a hand of playing cards. Client can add their own strategy objects to determine hand name, description, score and sorting algorithm
TypeScript MIT License UpdatedNov 10, 2024 -
deck-of-cards Public
a simple deck of 52 playing cards, plus optional jokers, that can randomly deal PlayingCard objects
TypeScript MIT License UpdatedNov 7, 2024 -
hand-analysis Public
analyses the cards in a collection of playing card objects for use in card games that contain 'hand' objects
TypeScript MIT License UpdatedNov 6, 2024 -
every-combination Public
a single function that takes in an array of primitive values and returns a new array containing the original array and the original array in every possible combination of sorting orders, minus any …
TypeScript MIT License UpdatedNov 4, 2024 -
playing-card Public
a PlayingCard object that models a playing card used in a card game
TypeScript MIT License UpdatedNov 4, 2024 -
full-screen-icon Public
an icon that you can add to your webpage that, when clicked, sets the browser to fullscreen mode
TypeScript MIT License UpdatedNov 2, 2024 -
simple-game-loop Public
a simple game loop that iterates over a collection of updateable objects, updating them with the amount of time that has passed since the last update
TypeScript MIT License UpdatedOct 31, 2024 -
collision-detection Public
5 common collision detection functions - point in rectangle/circle/rotated rectangle, circle in circle, rectangle in rectangle
TypeScript MIT License UpdatedOct 15, 2024 -
counter Public
a very simple javascript "counter" utility class with looping, variable step size, min & max values
TypeScript MIT License UpdatedOct 15, 2024 -
ease Public
a ts/js library of standard easing functions
TypeScript MIT License UpdatedOct 13, 2024 -
group-of-cards Public
a collection of playing card objects of definable size with basic functionality to add, remove and swap cards into/out of the group
MIT License UpdatedJun 24, 2024