|
Lyvathon
LyvaTeach lets you create your own web-based apps/games using both the Lyvathon scripting language and LyvaTags (an HTML work-alike). These apps are hosted by LyvaTeach. Both Lyvathon and LyvaTags are open source and Java-based. Alternatively, Jython is used to develop web-based apps written in Python. Many (but not all) of these web-based apps are meant to educate the end-user.
Client-Side
- Convert Lyvathon code to JavaScript at compile-time
- For free-form displays, convert LyvaTags code to HTML
Server-Side
- Convert Lyvathon code to LVC (compiled) format at compile-time
- LVC code is interpreted at run-time (similar to byte code)
Game Move Types
- Single-User
- Dual-User
- Turn-based
- Real-time (slow)
- 20 seconds: local interactions
- 10 seconds: upload/download player moves/game-state
- Repeat
- Real-time (fast)
- 15 seconds: local interactions
- 5 seconds: upload/download player moves/game-state
- Repeat
Game Screen Size
- Fixed: same for all players
- Free-Form: web page based on LyvaTags code
- Double-Size:
- Twice the size of fixed
- Lines/arcs 2 pixels thick
- Images stretched to twice normal size
- Text size (in points) is doubled
- Same game can support fixed and double-size players simultaneously
Graphics
- Line (horizontal)
- Line (vertical)
- Line (diagonal, 45 degrees)
- Rectangle
- Rectangle (filled)
- Triangle (right isosceles)
- Triangle (filled)
- Circle
- Circle (filled)
- Ring
- Arc (45-degree increments)
- Pie (45-degree increments)
- Ring (45-degree increments)
- Image
- Image (transparent)
- Text
User Input
- Click:
- isright = Y/N
- touch-screen: click on (toggle) half-filled circle icon
- isdbl = Y/N
- objidx
- (x, y): relative
- z value:
- Text: charidx
- Graphic: inner/outer = 0/1
- Line: exact = 0, off by one pixel = 1
- String:
- Printable chars.
- ASCII (0, 1):
- Command:
- ASCII (2 - 5): Up, Down, Left, Right
- ASCII (13 - 24): F1 - F12
- ASCII (65 - 90): A - Z, with Ctrl/Alt
- LShift, RShift, Ctrl, Alt
Lyvathon Projects
- Web app: ImageTree
- Learn server-side Java programming
- Lyvathon console-mode
- Release code on SourceForge
- Web-based terminal window
- Lyvathon desktop-mode
- LyvaTags parser
- LyvaTags-to-HTML converter
- Lyvathon-to-JavaScript converter
- Lyvathon on server
- Lyvathon libraries: add lots of code modules
- Lyvathon app: ImageTree
- Jython alternative (Python for the JVM) enables LyvaTeach apps to be written in Python instead of Lyvathon
- Closed Source Projects:
- LyvAIDE: LyvAthon Integrated Development Environment
- Core functionality
- Syntax highlighting
- Code-completion
- Unlimited undo/redo
- Port LyvAIDE to Windows
- Add indexed search to Lyvathon library
- LyvaTeach.org website
- Perform beta testing
- Launch
- Accept credit card payments (paid tutor royalties)
ImageTree App
- Handle directory tree of image files
- Folder mode:
- Display list of ancestor folder names
- Display sub-list of sub-directories
- If current folder contains image files:
- Display link to those images as: [ $ ]
- Super-grid mode:
- Display grid of first image in each sub-directory
- Current folder name ends with underscore
- Grid mode: display grid of images
- Image mode: display single image
- Commands:
- Up: go to parent
- Down: go down a level
- Left: go to previous sibling/screenful of images
- Right: go to next sibling/screenful of images
- Click:
- go down a level (or select ancestor folder)
- magnify on/off
- Crop: use in image mode
[ Back to Top ]
|
|
|