Skip to content

Mostly fun programs, either implementing interesting algorithms or performing simple tasks

Notifications You must be signed in to change notification settings

amitrubin/Small-Programs

Repository files navigation

Small-Programs

Mostly fun programs, either implementing interesting algorithms or performing simple tasks

stars-without-number-sector-generator.scm

Stars Without Number Sector Generator:

A simple automatic generator of a SWN sector written in Chez Scheme,
using the core rules (https://www.drivethrurpg.com/en/product/230009/Stars-Without-Number-Revised-Edition-Free-Version).
Currently the generator simply prints a sector map, and a description of the planetary systems.

Maze.c / Maze.exe :

Using randomized Kruskal's algorithm to generate MAZES!. Compile however you wish, then run through cmd/terminal, but make sure to zoom out using ctrl+mouse wheel before you call or it'll be all ugly!

anyflip_to_pdf.py :

THEY'VE PATCHED IT, THIS NO LONGER WORKS.

Given an Anyflip book, download it in pdf format.
Instructions:
Create a new folder. Copy anyflip_to_pdf.py to the folder.
Open the cmd in that folder.
Your book should have an address of the form https://anyflip.com/X/Y/ , where X & Y are some words.
In the cmd run "python X Y newpdfname numpagestodownloadfrombook"
in order to download from https://anyflip.com/X/Y/ the first numpagestodownloadfrombook pages from the book, and save the result into newpdfname.pdf
E.g. "python osliz fcwg StarWarsBook 295" in order to download from https://anyflip.com/osliz/fcwg/ the first 295 pages (i.e. all of them) into a new file StarWarsBook.pdf

monty_hall_problem.py

See the Wikipedia Page

WHAT'S NEXT

(Once I polish them a little so they're useable by anyone other than myself):

  • Fantasy/Semitic Random Name Generators!
  • Sudoku game generator website
  • Tredoku game generator website???

About

Mostly fun programs, either implementing interesting algorithms or performing simple tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published