Skip to content

D00mch/plusminus.me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plus-minus, math game

Check current web-version on plusminus.me

alt text

published with digitalocean.com

check Android version on Google play

Status: in progress

TODOS

  • campaing;
  • cache on server for single-player game;
  • event driven database;
  • chat

Prerequisites

You will need Leiningen 2.0 or above installed.

How-to

Project is generated with luminus-template.

PWA is implemented with page-renderer.

Running

To start it in dev you need to provide dev-config.edn file (put it in project root):

{
 ;; mandatory (remember to change your dbname, login and passowrd)
 ;; ----------------------
 :database-url "jdbc:postgresql://localhost/dbname?user=login&password=password"
 :dev  true

 ;; optional params below
 ;; ----------------------
 :port 3000
 ;; when :nrepl-port is set the application starts the nREPL server on load
 :nrepl-port 7000

 ;; for oauth
 :oauth-consumer-key    "your google oauth key"
 :oauth-consumer-secret "your google oauth secret"
 :domain                "http://localhost:3000"

 ;; key for your session cookie
 :session-store-key "some_16chars_key"
}

To support pwa with android apk provide resources/public/json/assetlinks.json (check official docs)

To start a web server for the application, run:

lein run 

License

Copyright 2019 Artur Dumchev

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

PWA game, written in Clojure and ClojureScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published