Skip to content

Commit

Permalink
Merge pull request #3 from AttorneyOnline/2.3
Browse files Browse the repository at this point in the history
2.3
  • Loading branch information
oldmud0 authored Sep 12, 2018
2 parents 1ebb079 + 559ff78 commit 5caf25a
Show file tree
Hide file tree
Showing 39 changed files with 3,978 additions and 478 deletions.
35 changes: 35 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
module.exports = {
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"off"
],
"quotes": [
"warn",
"double"
],
"semi": [
"error",
"always"
],
"no-console": [
"off"
],
"no-unused-vars": [
"warn"
],
}
};
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Attorney Online Web Client

Guide: https://docs.google.com/document/d/1X4OjG0tfoTZayqY9MM6fqzL_aGMKFAECg7NSQRYafAU/edit
webAO client only features:
- BBcode
- Client side encoding-decoding (Unicode escape/UTF-16 array)
- Location (spilt from music list)
- Change background UI via menu

Planned features:
- Record testimony on client side (Judge role)
- Play testimony during cross-examination
- Defense, prosecution and judge can skip testimony message.(forward/backward)
- Show Guilty/Not Guilty message (Judge role)

Link to the client in this repo: http://attorneyonline.000webhostapp.com

Guide to installing it locally: https://docs.google.com/document/d/1X4OjG0tfoTZayqY9MM6fqzL_aGMKFAECg7NSQRYafAU/edit

This is a client for the Attorney Online roleplaying chatroom written in HTML and Javascript.
It works with the serverD software when the server has WebSockets enabled.
It works with the tsuserver3/serverD software when the server has WebSockets enabled.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "webao",
"version": "2.1.1",
"version": "2.3.0",
"description": "Web-based Attorney Online client",
"main": "client.js",
"scripts": {
"babel": "babel ui.js -o ui.b.js",
"webpack": "webpack",
"deploy": "cross-env NODE_ENV=production webpack -p",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
Loading

0 comments on commit 5caf25a

Please sign in to comment.