Skip to content

Instantly share code, notes, and snippets.

@fccm
fccm / shmup_av6.ml
Last active June 1, 2019 07:24
A Simple Abstract Shmup Game
(* A Simple Abstract Shmup Game
Copyright (C) 2019 Florent Monnier
This software is provided "AS-IS", without any express or implied warranty.
In no event will the authors be held liable for any damages arising from
the use of this software.
Permission is granted to anyone to use this software and associated elements
for any purpose, including commercial applications, and to alter it and
redistribute it freely.
@akabe
akabe / maze_solver.ml
Last active October 13, 2019 16:34
A maze solver by A* algorithm on OCaml
(* ========================================================================== *
* General implementation of A-star algorithm
* ========================================================================== *)
module Astar :
sig
type 'a t =
{
cost : 'a -> 'a -> int;
goal : 'a;