Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaGameDeveloper committed Apr 14, 2024
2 parents b45563d + bdfdbdf commit 3298dd6
Show file tree
Hide file tree
Showing 24 changed files with 825 additions and 23 deletions.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/agb_issue_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Bug report
description: Let's quash these bugs in AlphaGameBot!
title: '[BUG]: '
body:
- type: input
id: command-used
attributes:
label: What command did you experience this bug in?
description: e.g, /xkcd, /minecraft java, etc.
placeholder: /placeholder
validations:
required: true
- type: input
id: command-options
attributes:
label: What arguments did you pass into the command
description: (if applicable)
placeholder: 'arg1: value1, arg2: value2'
- type: checkboxes
id: contributor-policy
attributes:
label: Do you agree to the Code of Conduct?
description: This can be found in `CODE_OF_CONDUCT.md`
options:
- label: Do you accept the Contributor Policy?
required: true
- type: markdown
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source "https://rubygems.org"

gem 'jekyll-feed'
gem 'jekyll-seo-tag'
gem 'jekyll-sitemap'
12 changes: 9 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GEM
eventmachine (1.2.7)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (3.25.2-x86_64-linux)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
Expand All @@ -35,14 +35,18 @@ GEM
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
Expand All @@ -55,7 +59,7 @@ GEM
rexml (3.2.6)
rouge (4.2.0)
safe_yaml (1.0.5)
sass-embedded (1.70.0-x86_64-linux-gnu)
sass-embedded (1.71.1-x86_64-linux-gnu)
google-protobuf (~> 3.25)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
Expand All @@ -67,6 +71,8 @@ PLATFORMS

DEPENDENCIES
jekyll-feed
jekyll-seo-tag
jekyll-sitemap

BUNDLED WITH
2.4.22
24 changes: 20 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
title: AlphaGameDeveloper
url: ""
url: "https://alphagame.dev/"

# note to self: dont set if it is running in the root dir
# problems like linking to //style.css (note the two slashes)
# will occur.
baseurl: ""

permalink: /blog/:year/:month/:title
Expand All @@ -17,6 +21,14 @@ footer_text: "Website copyright &copy; Damien Boisvert (AlphaGameDeveloper) 2024

license: "Creative Commons Attribution 4.0 International"

keywords:
- damien
- boisvert
- damienboisvert
- alphagamedeveloper
- gamedev
- alphagame

sass:
style: compressed
sass_dir: _sass
Expand All @@ -28,15 +40,19 @@ nav:
link: "/about"
- name: "Blog"
link: /blog
- name: "School"
link: /school/
# - name: "School"
# link: /school/
- name: "AlphaGameBot"
link: /alphagamebot/
- name: "Socials"
link: /links/

author: damienboisvert

feed:
path: /feed
path: /feed.xml

plugins:
- jekyll-feed
- jekyll-seo-tag
- jekyll-sitemap
4 changes: 2 additions & 2 deletions _data/message.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
enabled: false
type: "info" # allow: info,warn
message: "This site is now fully on GitHub pages now! Most bugs should have been fixed by now. No sussy behavior, now! ;)"
type: "warn" # allow: info,warn
message: "Due to problems with the school's Chromebook software, LightSpeed, some content may be missing or deleted. Sorry for the inconvenience."
25 changes: 25 additions & 0 deletions _includes/gtag.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,29 @@
// NOTE: if someone knows a problem that I did,
// please let me know lol. ;)
</script>
<!-- track clicked links -->
<script>
document.addEventListener('DOMContentLoaded', function() {
// Function to track link clicks
function trackLinkClick(event) {
console.log("trackLinkClick called");
// Check if Google Analytics is loaded
if (typeof ga === 'function') {
// Send a pageview event to Google Analytics
ga('send', 'event', {
eventCategory: 'Outbound Link',
eventAction: 'click',
eventLabel: event.target.href,
transport: 'beacon'
});
}
}

// Add click event listener to all <a> elements
var links = document.querySelectorAll('a');
links.forEach(function(link) {
link.addEventListener('click', trackLinkClick);
});
});
</script>
<!-- END TEMPLATE gtag.html -->
9 changes: 9 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!-- BEGIN TEMPLATE head.html -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="/assets/js/secret-jam-session.js"></script>
{% seo %}
{% if page.title %}
<!-- page.title exists, using that. -->
<title>{{ page.title }} &bull; {{ site.title }}</title>
{% else %}
<!-- page.title does not exist, defaulting to site.title -->
<title>{{ site.title }}</title>
{% endif %}
<!-- END TEMPLATE head.html -->
18 changes: 18 additions & 0 deletions _posts/2024-03-15-konamirickroll-add-a-rickroll-to-site.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "KonamiRickroll: Add a rickroll to your site via Konami code"
---
Ever wanted to have a little easter egg in your website? I sure did! With my new JavaScript script, you can now add an easteregg rickroll to your website<!--more-->
by typing this combo: **UP, UP, DOWN, DOWN, LEFT, RIGHT, LEFT, RIGHT, B, A**. This is the Konami combo, and it is well-known, so you can be sure that someone
will find it someday! Add it to your site by just copy and pasting this HTML code to your &lt;head&gt; section:
```html
<script src="https://www.alphagame.dev/assets/js/secret-jam-session.js"></script>
```
This is very plug-and-play, and it should work with any website without any additional config.

## How it works
KonamiRickroll works by listening for the above pattern, and then replaces the webpage &lt;body&gt; section with a rickroll. This is easily stopped by reloading the webpage.

**Try it on this site!**

Cheers,
Damien Boisvert (AlphaGameDeveloper)
38 changes: 38 additions & 0 deletions _posts/2024-04-01-mbti-exploring-the-entp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: post
title: "MBTI: Exploring the ENTP"
published: false
---

<img class="profile-picture" src="/assets/mbti/entp.png" />

## Note
**This post is a work-in-progress.** Some things may be inaccurate, and other things may change. Doing your own research is always recommended.

## Introduction
ENTP is a MBTI (Myers-Briggs Type Indicator) personality type. People with the ENTP personality are also called *"The Debater"*, because of their legendary capacity for debate. In my *(somewhat biased)* opinion, I think that ENTP is my favorite MBTI type because of how interesting it is to read about! *(ENTJ comes in at a close second)*. This type will debate with anyone, about anything!

## What is MBTI?
MBTI, or the *Myers-Briggs Type Indicator*, is a set of 16 unique personalities, all with their own acronyms. For example, ENTP stands for the *Extraverted, Intuitive, Thinking, and Prospecting* traits. For those of you who do not know, MBTI types are composed of four letters, each giving a trait. This is the order:
* **I**ntroverted or **E**xtraverted (I/E) - (description needed)
* I**N**tuitive or **S**ensing (N/S) - How you take in information
* **T**hinking or **F**eeling (T/F) - How you make decisions
* **P**rospecting or **J**udging (P/J) - (description needed)

So that's kind of a rough overview of MBTI. If you want to learn more, check out [16 Personalities](https://16personalitied.com/)! They have a LOT of information about all the types, along with a [free personality test](https://www.16personalities.com/free-personality-test) that you can take right now!

## The ENTP

<blockquote>
Quick, ingenious, stimulating, alert, and outspoken. Resourceful in solving new and challenging problems. Adept at generating conceptual possibilities and then analyzing them strategically. Good at reading other people. Bored by routine, will seldom do the same thing the same way, apt to turn to one new interest after another. <cite><a href="https://www.myersbriggs.org/my-mbti-personality-type/the-16-mbti-personality-types/#:~:text=ENTP,interest%20after%20another.">Myers Briggs</a></cite>
</blockquote>

### Outspoken
ENTPs are one of the more outspoken types, as they're not afraid to reject the status quo. People with the ENTP personality are not afraid to speak up about their opinions. ENTPs are natural advocates for change and progress when they identify areas for improvement in their community, workplace, or society at large, actively campaigning for their ideas and pushing for reform.


## Works Cited
* **16 Personalities**
* [ENTP Personality](https://www.16personalities.com/entp-personality)
* **Myers Briggs**
* [The 16 Personality Types](https://www.myersbriggs.org/my-mbti-personality-type/the-16-mbti-personality-types/)
1 change: 1 addition & 0 deletions assets/js/secret-jam-session.js

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

Binary file added assets/mbti/entp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/school/Boisvert_Damien_indigo.pdf
Binary file not shown.
10 changes: 6 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ permalink: /
<img class="profile-picture" src="/assets/1000059909pfp.jpg">

## Hey, there!
My name is Damien Boisvert, but I am more commonly known on the Internet as AlphaGameDeveloper, or AlphaGameDev. I find that funny, as my main focus has shifted away from game development a bit. :) Nevertheless, here I am. I exist. <sup>[Citation needed]</sup>. I am 14 years old, and I have a passion for computers, programming, you name it.
My name is Damien Boisvert, but I am more commonly known on the Internet as AlphaGameDeveloper, or AlphaGameDev. I find that funny, as my main focus has shifted away from game development a bit. :) Nevertheless, here I am. I exist. I am 14 years old, and I have a passion for computers, programming, you name it.
## Accomplishments
- Didn't touch grass record - 1 1/2 days
- Didn't touch grass record - 7 days
- Memorized one hundred digits of the mathematical constant pi (π)
- Made sixty of which out of wine corks, and hung it on my wall (took about 3 full walls!)
- Memorized 80 elements of the Periodic Table of the Elements
- Professional nerd :)
- Listened to *Mr. Blue Sky* for 4 hours straight
- Hacked like 20 school chromebooks lol
- Made the world's stupidest computer virus lmao [#WannaDoge](https://github.com/AlphaGameDeveloper/WannaDoge) which *(suprise, suprise)* sucks so much I can't even read the code, myself (and that's saying something!)

<!-- removed due to problems with lightspeed filter agent on school chromebooks -->
<!-- - Hacked like 20 school chromebooks lol
- Made the world's stupidest computer virus lmao [#WannaDoge](https://github.com/AlphaGameDeveloper/WannaDoge) which *(suprise, suprise)* sucks so much I can't even read the code, myself (and that's saying something!) -->
- Abused Docker a million times to get root on the host machine lmao
- **Working on more!**
30 changes: 30 additions & 0 deletions pages/alphagamebot/alphagamebot-faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: default
permalink: /alphagamebot/faq/
title: AlphaGameBot FAQ
---
# AlphaGameBot FAQ

[Return to AlphaGameBot](/alphagamebot/)

## Will AlphaGameBot ever be a paid bot?
No. AlphaGameBot is hosted in my house on my server, Hubby. If I ever need to, it will be donation based.

## What did you write AlphaGameBot in?
I wrote it in `discord.py`, or to be more specific, `py-cord` [(learn more)](https://pycord.dev/). I chose it because it felt like the best choice, because I am familiar with Python, and `discord.py`. `py-cord` is compatible with `discord.py` code, as a drop-in replacement!

## When did you start working on AlphaGameBot?
I think I started in early December or late November of 2024. I don't know the exact date, as I only started using it with Git later on (December 22, 2024). The bot says it was made in 2022, but it was not AlphaGameBot at that point, it was a small app I made called "Chat Chat" (it sucked)

## Are you still working on AlphaGameBot?
Hell yeah! I am working on AlphaGameBot with all the time I can (which sadly is not much, I'm a high-school student), but YOU can contrbute on its [GitHub page][github]

## Will AlphaGameBot always be open-source?
Yes. I am a strong supporter of open-source software, and I love to be having such a large application open-sourced. There are not many open-source public discord bots out there, and it's my job to fix that!

## Can I contribute to AlphaGameBot?
Yes. Feel free to make a pull request to the AlphaGameBot [GitHub repository][github]! Please note that all contributions must be:
* Not A.I. Generated--All code must be human-written. This allows the bot to maintain my high standard of almost no A.I. generated code.
* Useful--The contribution must be useful in one way or another.

[github]: https://github.com/AlphaGameDeveloper/AlphaGameBot/
35 changes: 35 additions & 0 deletions pages/alphagamebot/alphagamebot-privacy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: default
permalink: /alphagamebot/privacy
title: AlphaGameBot Privacy Policy
modified: 4/13/2024
---

# AlphaGameBot Privacy Policy
AlphaGameBot is quite privacy-focused. It does not track much data, and the data it *does* track
is only data that is essential for the bot to function correctly. Examples of data that the bot
will track are:
* Bot Errors (I will eventually add a feature to opt-out of this)
* User Settings
* These are not implimented yet, but this is to be able to customize your experience with AlphaGameBot

## Data collected passively
Data is not sold. Period. I DO NOT SELL YOUR DATA, NOR DO I TRACK ALL OF YOUR INTERACTIONS.
Anonymous information is put in the bot's Python console. Examples of output is

```
listener/INFO - /xkcd called
cogwheel/INFO - Web request called to https://xkcd.com/info.0.json
cogwheel/INFO - Web request finished. StatusCode=200 (OK), time=2ms from_cache:yes
listener/INFO - /meme called
cogwheel/INFO - Web request called to https://meme-api.com/gimme
cogwheel/INFO - Web request finished. StatusCode=200 (OK), time=7ms from_cache:disabled
... etc ...
```

No personally identifiable information is put in the bot's console. This information is only used
for debugging purposes and to help ensure the quality of AlphaGameBot.

**These terms were last updated on {{ page.modified }}**

*Note: I reserve the right to update these terms anytime. New changes are made effective 2 weeks after being initially posted.*
24 changes: 24 additions & 0 deletions pages/alphagamebot/alphagamebot-tos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: default
permalink: /alphagamebot/terms
title: AlphaGameBot ToS
modified: 4/13/2024
---
# AlphaGameBot Terms of Service
While AlphaGameBot is free and open-source, there are a few things that I expect from you, the bot user; and that you can expect from me. This will let you know what your rights are while using AlphaGameBot.

## Please don't do these things...

* Use AlphaGameBot for *any and all* illegal purposes
* Present AlphaGameBot (or forks of it) as your own work... Feel free to say you changed it... That'll be cool, just give me credit, please :)

## Do these awesome things!
* Use AlphaGameBot for any purpose that is allowed under [Discord's Terms of Service](https://discord.com/terms) and [Discord's Community Guidelines](https://discord.com/guidelines)
* Modify AlphaGameBot under the terms of the GNU GPL, version 3 (or at your option, any later version)
* Distribute your changes! (please give me credit, though!)
* Host your own instances of AlphaGameBot, **just mark it as a 3rd-party instance!**

## Postscript
**These terms were last updated on {{ page.modified }}**

*Note: I reserve the right to update these terms anytime. New changes are made effective 2 weeks after being initially posted.*
9 changes: 6 additions & 3 deletions pages/alphagamebot.md → pages/alphagamebot/alphagamebot.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ AlphaGameBot is yet another Discord bot. It was made in Discord.py and designed

## Give AlphaGameBot a shot!

The FAQ can be found [here](/alphagamebot/faq).

The AlphaGameBot *Terms of Service* can be found [here](/alphagamebot/terms)

The AlphaGameBot *Privacy Policy* can be found [here](/alphagamebot/privacy)

| Description | Join link | Comment |
|------------------------------ |-----------------------------------------------------------------------------------------------|-----------------------------------------------------|
| Future-proof<br>(Administrator)| [Invite as admin](https://discord.com/api/oauth2/authorize?client_id=946533554953809930&permissions=8&scope=bot) | Recommended, but not required. |
| Only permissions<br>it needs | [Invite the bot!](https://discord.com/api/oauth2/authorize?client_id=946533554953809930&permissions=39859552415312&scope=bot) | You may have to change permissions yourself, as this bot is constantly evolving! |

## If you are a server admin...
Hi, fellow server admin! I wanted to say that if you are getting spammed by requests from AlphaGameBot (User agent is usually: `python-requests/2.31.0; curl/8.4.0; AlphaGameBot/1; https://alphagame.dev/ +damien@alphagame.dev`), I'm sorry for this bug. I try to keep my bot from irresponsibly spamming servers, but sometimes I make mistakes. If you have a problem with the bot, please do not block it; rather, please send me an email at [damien@alphagame.dev](mailto:damien@alphagame.dev), so I can fix this in AlphaGameBot. Thanks!
<<<<<<< Updated upstream:pages/alphagamebot.md
=======

*You can also create a GitHub issue.*
>>>>>>> Stashed changes:alphagamebot.md
Loading

0 comments on commit 3298dd6

Please sign in to comment.