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
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! :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <vector> | |
#include "jerryscript.h" | |
namespace JerryScript { | |
class Value; | |
class Undefined; | |
class Null; | |
class Boolean; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Gravity { | |
<template T> | |
class TypedArray { | |
private: | |
typedef marray_t(T) array_struct; | |
array_struct arr; | |
public: | |
TypedArray() { marray_init(this->arr); } | |
TypedArray(array_struct arr) { this->arr = arr; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file | |
* Kleines Beispiel einer Main Methode. | |
* | |
* @author Kevin Ingwersen | |
*/ | |
class MainExample { | |
// Als aller Erstes definieren wir mal eine kleine Methode... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file | |
* Implementierung des chinesischen Spiels "Baguenaudier". | |
* @see Aufgabe 4.2 | |
* @author Kevin Ingwersen | |
*/ | |
/** | |
* @section Spielregeln | |
* Kurze zusammenfassung der Regeln (angelegt aus Eigeninteresse). |