Skip to content

Gobie/phpgolf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpGolf challenges

My attempts on PHP code golf challenges, usually with several of them for each challenge.

Installation

Run php composer.phar install and the challenge runner is ready.

Challenge runner

I also created challenge run to test quickly my attempts on challenges. It is CLI tool written in PHP for testing attempts individually or in a batch.

You can run any challenge with

php cli.php challenge:run challenge-name [attempt-number, ...]

Structure of the project is

challenges
- challenge-name <-- name of the challenge
  - attempt-number <-- number of the attempt
    - attempt.php <-- attempt, that is run
    - README.md <-- description of this attempt
  - attempt-number
    - attempt.php
    - attempt_generator.php <-- attempt generator, that generates attempt.php, it is optional
    - README.md
  ...
  - tests.php <-- tests for all attempts
  - README.md <-- description of this challenge
- challenge-name
  ...
...

About

My tries on code golf challenges.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages