Skip to content

Instantly share code, notes, and snippets.

Working on IngwiePhoenix/IceTea ... trying out a JavaScript aproach. O.o...

Ingwie Phoenix IngwiePhoenix

Working on IngwiePhoenix/IceTea ... trying out a JavaScript aproach. O.o...
View GitHub Profile
IngwiePhoenix /
Created Apr 5, 2020
Concept: Open-Source implementation of "Cardfight!! Vanguard Online"

In 2014, I first came into contact with the "Cardfight!! Vanguard" TCG and I was introduced to it while I was at my hights as a professional Yu-Gi-Oh player, playing at several turnaments and usually coming out at the upper third of the turnaments - not always the top 10 on bigger turnaments but about 3rd out of 22 in average at local events, with my highest official turnament placing being 129th at a YCS in Leipzig. I could've gone higher but fell asleep during the break and woke up way too late to make it to my game, and even had to clarify that I did not drop...kinda embarressing really but happens after playing 7h+ of competitive turnaments - with a visual impairment (almost blind, left eye 20% and right eye ~3%) which meant a lot of additional brainwork since I had to memorize all the common cards at the time since I couldn't just read them off the card as needed. One way, in which I had prepared for this was to use (unlicensed, non-endorsed) Yu-Gi-Oh simulators such as Dueling Network and YGOPro (Percy

IngwiePhoenix /
Created Feb 25, 2020
AEW's "cryptic" Dark Order message - decrypted. (Although...not that hard.)

AEW Cryptic Tweet translation

The following files all contain material used for conversion. I was bored so I wrote this tiny program as a way to warm up before working on some PHP and Laravel stuff.

I used NodeJS. The code is provided below.

If you want the output, scroll to the last file at the bottom.

Tested on NodeJS 13.9.0!

Thanks for reading! :)

View windbg results.txt
Microsoft (R) Windows Debugger Version 10.0.18362.1 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: "C:\Program Files (x86)\Steam\steamapps\common\Megadimension Neptunia VIIR\resource\bin\v2r.exe"
Symbol search path is: srv*
Executable search path is:
ModLoad: 00007ff6`a75c0000 00007ff6`b0f08000 Application.exe
ModLoad: 00007ffc`90d60000 00007ffc`90f50000 ntdll.dll
ModLoad: 00007ffc`90160000 00007ffc`90212000 C:\Windows\System32\KERNEL32.DLL
View Value.hpp
#include <string>
#include <vector>
#include "jerryscript.h"
namespace JerryScript {
class Value;
class Undefined;
class Null;
class Boolean;
IngwiePhoenix / array.cpp
Created Jan 25, 2019
View array.cpp
namespace Gravity {
<template T>
class TypedArray {
typedef marray_t(T) array_struct;
array_struct arr;
TypedArray() { marray_init(this->arr); }
TypedArray(array_struct arr) { this->arr = arr; }
View gravity_api_oop.cpp
* @file
* Demonstrating how to use classes or opaque data types
* within Gravity.
* This does NOT use xData attached to functions...
* but rather gravity_instance_t's xdata.
#include <stdio.h>
IngwiePhoenix / exec_c_xdata.c
Created Dec 24, 2018
gravity c api - using xdata
View exec_c_xdata.c
// Based on gravity/api/exec_c.c
#include <stdio.h>
#include <math.h>
#include "gravity_compiler.h"
#include "gravity_macros.h"
#include "gravity_vm.h"
#include "gravity_core.h"
#include "gravity_value.h"
IngwiePhoenix / buildit.wren
Created Dec 3, 2018
IceTea concept in Wren
View buildit.wren
import "Toolchains/Native" for Native
import "FLTK" for libfltk
import "Detector/CC" for CC_Detector
namespace("IngwiePhoenix") {|ns|
// @var ns: Current namespace object. Can be omitted.
Native.executable("MyApp") {|t|
// @var t: Current target
* @file
* Kleines Beispiel einer Main Methode.
* @author Kevin Ingwersen
class MainExample {
// Als aller Erstes definieren wir mal eine kleine Methode...
* @file
* Implementierung des chinesischen Spiels "Baguenaudier".
* @see Aufgabe 4.2
* @author Kevin Ingwersen
* @section Spielregeln
* Kurze zusammenfassung der Regeln (angelegt aus Eigeninteresse).